mbed port of tinydtls

Embed: (wiki syntax)

« Back to documentation index

dtls_hmac_context_t Struct Reference

dtls_hmac_context_t Struct Reference
[Keyed-Hash Message Authentication Code (HMAC)]

Context for HMAC generation. More...

#include <hmac.h>

Data Fields

unsigned char pad [DTLS_HMAC_BLOCKSIZE]
 ipad and opad storage
dtls_hash_ctx data
 context for hash function

Detailed Description

Context for HMAC generation.

This object is initialized with dtls_hmac_init() and must be passed to dtls_hmac_update() and dtls_hmac_finalize(). Once, finalized, the component H is invalid and must be initialized again with dtls_hmac_init() before the structure can be used again.

Definition at line 90 of file hmac.h.


Field Documentation

dtls_hash_ctx data

context for hash function

Definition at line 92 of file hmac.h.

unsigned char pad[DTLS_HMAC_BLOCKSIZE]

ipad and opad storage

Definition at line 91 of file hmac.h.