Input/output parameters for function atcah_check_mac().
#include <atca_host.h>
Data Fields | |
const uint8_t * | client_chal |
[in] ClientChal data, 32 bytes. Can be NULL if mode[0] is 1. More... | |
uint8_t * | client_resp |
[out] Calculated ClientResp will be returned here. More... | |
uint16_t | key_id |
[in] CheckMac command KeyID More... | |
uint8_t | mode |
[in] CheckMac command Mode More... | |
const uint8_t * | other_data |
[in] OtherData, 13 bytes More... | |
const uint8_t * | otp |
[in] First 8 bytes of the OTP zone data. Can be NULL is mode[5] is 0. More... | |
const uint8_t * | slot_key |
[in] 32 byte key value in the slot specified by slot_id. More... | |
const uint8_t * | sn |
[in] Device serial number SN[0:8]. Only SN[0:1] and SN[8] are required though. More... | |
const uint8_t * | target_key |
[in] If this is not NULL, it assumes CheckMac copy is enabled for the specified key_id (ReadKey=0). More... | |
struct atca_temp_key * | temp_key |
[in,out] Current state of TempKey. Required if mode[0] or mode[1] are 1. More... | |
const uint8_t* atca_check_mac_in_out::client_chal |
[in] ClientChal data, 32 bytes. Can be NULL if mode[0] is 1.
Referenced by atcah_check_mac().
uint8_t* atca_check_mac_in_out::client_resp |
[out] Calculated ClientResp will be returned here.
Referenced by atcah_check_mac().
uint16_t atca_check_mac_in_out::key_id |
[in] CheckMac command KeyID
uint8_t atca_check_mac_in_out::mode |
[in] CheckMac command Mode
Referenced by atcah_check_mac().
const uint8_t* atca_check_mac_in_out::other_data |
[in] OtherData, 13 bytes
Referenced by atcah_check_mac().
const uint8_t* atca_check_mac_in_out::otp |
[in] First 8 bytes of the OTP zone data. Can be NULL is mode[5] is 0.
Referenced by atcah_check_mac().
const uint8_t* atca_check_mac_in_out::slot_key |
[in] 32 byte key value in the slot specified by slot_id.
Can be NULL if mode[1] is 1.
Referenced by atcah_check_mac().
const uint8_t* atca_check_mac_in_out::sn |
[in] Device serial number SN[0:8]. Only SN[0:1] and SN[8] are required though.
Referenced by atcah_check_mac().
const uint8_t* atca_check_mac_in_out::target_key |
[in] If this is not NULL, it assumes CheckMac copy is enabled for the specified key_id (ReadKey=0).
If key_id is even, this should be the 32-byte key value for the slot key_id+1, otherwise this should be set to slot_key.
Referenced by atcah_check_mac().
struct atca_temp_key* atca_check_mac_in_out::temp_key |
[in,out] Current state of TempKey. Required if mode[0] or mode[1] are 1.
Referenced by atcah_check_mac().