CryptoAuthLib
Atmel CryptoAuthentication Library
atca_encrypt_in_out Struct Reference

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

#include <atca_host.h>

Data Fields

uint8_t zone
 [in] Zone parameter used in Write (Param1). More...
 
uint16_t address
 [in] Address parameter used in Write command (Param2). More...
 
uint8_t * crypto_data
 [in,out] Pointer to 32-byte data. Input cleartext data, output encrypted data to Write command (Value field). More...
 
uint8_t * mac
 [out] Pointer to 32-byte Mac. Can be set to NULL if input MAC is not required by the Write command (write to OTP, unlocked user zone). More...
 
struct atca_temp_keytemp_key
 [in,out] Pointer to TempKey structure. More...
 

Detailed Description

Input/output parameters for function atca_encrypt().