CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
atca_hmac_in_out Struct Reference

Input/output parameters for function atca_hmac(). More...

#include <lib/host/atca_host.h>

Data Fields

uint8_t mode
 [in] Mode parameter used in HMAC command (Param1).
 
uint16_t key_id
 [in] KeyID parameter used in HMAC command (Param2).
 
const uint8_t * key
 [in] Pointer to 32-byte key used to generate HMAC digest.
 
const uint8_t * otp
 [in] Pointer to 11-byte OTP, optionally included in HMAC digest, depending on mode.
 
const uint8_t * sn
 [in] Pointer to 9-byte SN, optionally included in HMAC digest, depending on mode.
 
uint8_t * response
 [out] Pointer to 32-byte SHA-256 HMAC digest.
 
struct atca_temp_keytemp_key
 [in,out] Pointer to TempKey structure.
 

Detailed Description

Input/output parameters for function atca_hmac().