93         unsigned int key_size);
   115        unsigned int data_length);
 struct tc_sha256_state_struct hash_state
Definition: tc_hmac.h:74
 
Definition: tc_sha256.h:71
 
struct tc_hmac_state_struct * TCHmacState_t
Definition: tc_hmac.h:78
 
int tc_hmac_update(TCHmacState_t ctx, const void *data, unsigned int data_length)
HMAC update procedure Mixes data_length bytes addressed by data into state.
Definition: tc_hmac.c:110
 
int tc_hmac_final(uint8_t *tag, unsigned int taglen, TCHmacState_t ctx)
HMAC final procedure Writes the HMAC tag into the tag buffer.
Definition: tc_hmac.c:125
 
#define TC_SHA256_BLOCK_SIZE
Definition: tc_sha256.h:67
 
uint8_t key[2 *TC_SHA256_BLOCK_SIZE]
Definition: tc_hmac.h:76
 
int tc_hmac_init(TCHmacState_t ctx)
HMAC init procedure Initializes ctx to begin the next HMAC operation.
Definition: tc_hmac.c:96
 
Interface to a SHA-256 implementation.
 
int tc_hmac_set_key(TCHmacState_t ctx, const uint8_t *key, unsigned int key_size)
HMAC set key procedure Configures ctx to use key.
Definition: tc_hmac.c:52