Input/output parameters for function atca_hmac().
#include <atca_host.h>
Data Fields | |
const uint8_t * | key |
[in] Pointer to 32-byte key used to generate HMAC digest. More... | |
uint16_t | key_id |
[in] KeyID parameter used in HMAC command (Param2). More... | |
uint8_t | mode |
[in] Mode parameter used in HMAC command (Param1). More... | |
const uint8_t * | otp |
[in] Pointer to 11-byte OTP, optionally included in HMAC digest, depending on mode. More... | |
uint8_t * | response |
[out] Pointer to 32-byte SHA-256 HMAC digest. More... | |
const uint8_t * | sn |
[in] Pointer to 9-byte SN, optionally included in HMAC digest, depending on mode. More... | |
struct atca_temp_key * | temp_key |
[in,out] Pointer to TempKey structure. More... | |