Knight KE / Mbed OS Game_Master
Embed: (wiki syntax)

« Back to documentation index

crys_hmac.h File Reference

crys_hmac.h File Reference

This file contains all of the enums and definitions that are used for the CRYS HMAC APIs, as well as the APIs themselves. More...

Go to the source code of this file.

Data Structures

struct  CRYS_HMACUserContext_t

Typedefs

typedef struct
CRYS_HMACUserContext_t 
CRYS_HMACUserContext_t

Functions

CIMPORT_C CRYSError_t CRYS_HMAC_Init (CRYS_HMACUserContext_t *ContextID_ptr, CRYS_HASH_OperationMode_t OperationMode, uint8_t *key_ptr, uint16_t keySize)
 This function initializes the HMAC machine.
CIMPORT_C CRYSError_t CRYS_HMAC_Update (CRYS_HMACUserContext_t *ContextID_ptr, uint8_t *DataIn_ptr, size_t DataInSize)
 This function processes a block of data to be HASHed.
CIMPORT_C CRYSError_t CRYS_HMAC_Finish (CRYS_HMACUserContext_t *ContextID_ptr, CRYS_HASH_Result_t HmacResultBuff)
 This function finalizes the HMAC processing of a data block.
CIMPORT_C CRYSError_t CRYS_HMAC_Free (CRYS_HMACUserContext_t *ContextID_ptr)
 This function is a service function that frees the context if the operation has failed.
CIMPORT_C CRYSError_t CRYS_HMAC (CRYS_HASH_OperationMode_t OperationMode, uint8_t *key_ptr, uint16_t keySize, uint8_t *DataIn_ptr, size_t DataSize, CRYS_HASH_Result_t HmacResultBuff)
 This function processes a single buffer of data, and returns the data buffer's message digest.

Detailed Description

This file contains all of the enums and definitions that are used for the CRYS HMAC APIs, as well as the APIs themselves.

Definition in file crys_hmac.h.