This file contains all of the enums and definitions that are used for the CRYS HMAC APIs, as well as the APIs themselves. More...
#include "ssi_pal_types.h"
#include "crys_error.h"
#include "crys_hash.h"
#include "crys_hmac_defs.h"
Go to the source code of this file.
Data Structures | |
struct | CRYS_HMACUserContext_t |
Macros | |
#define | CRYS_HMAC_KEY_SIZE_IN_BYTES 64 |
#define | CRYS_HMAC_SHA2_1024BIT_KEY_SIZE_IN_BYTES 128 |
Typedefs | |
typedef struct CRYS_HMACUserContext_t | CRYS_HMACUserContext_t |
Functions | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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.