Kenji Arai / TYBLE16_mbedlized_os5_several_examples_1st

Dependencies:   nRF51_Vdd TextLCD BME280

Embed: (wiki syntax)

« Back to documentation index

crys_hkdf.h File Reference

crys_hkdf.h File Reference

This module defines the API that supports HMAC Key derivation function as defined by RFC5869. More...

Go to the source code of this file.

Enumerations

enum  CRYS_HKDF_HASH_OpMode_t {
  CRYS_HKDF_HASH_SHA1_mode = 0, CRYS_HKDF_HASH_SHA224_mode = 1, CRYS_HKDF_HASH_SHA256_mode = 2, CRYS_HKDF_HASH_SHA384_mode = 3,
  CRYS_HKDF_HASH_SHA512_mode = 4, CRYS_HKDF_HASH_NumOfModes, CRYS_HKDF_HASH_OpModeLast = 0x7FFFFFFF
}

Functions

CEXPORT_C CRYSError_t CRYS_HKDF_KeyDerivFunc (CRYS_HKDF_HASH_OpMode_t HKDFhashMode, uint8_t *Salt_ptr, size_t SaltLen, uint8_t *Ikm_ptr, uint32_t IkmLen, uint8_t *Info, uint32_t InfoLen, uint8_t *Okm, uint32_t OkmLen, SaSiBool IsStrongKey)
 CRYS_HKDF_KeyDerivFunc performs the HMAC-based key derivation, according to RFC5869.

Detailed Description

This module defines the API that supports HMAC Key derivation function as defined by RFC5869.

Definition in file crys_hkdf.h.