CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
kit_protocol.h File Reference
#include "cryptoauthlib.h"

Macros

#define KIT_TX_WRAP_SIZE   (10)
 
#define KIT_MSG_SIZE   (32u)
 
#define KIT_RX_WRAP_SIZE   (KIT_MSG_SIZE + 6u)
 

Functions

ATCA_STATUS kit_init (ATCAIface iface, ATCAIfaceCfg *cfg)
 
ATCA_STATUS kit_post_init (ATCAIface iface)
 
ATCA_STATUS kit_send (ATCAIface iface, uint8_t word_address, uint8_t *txdata, int txlength)
 
ATCA_STATUS kit_receive (ATCAIface iface, uint8_t word_address, uint8_t *rxdata, uint16_t *rxsize)
 
ATCA_STATUS kit_control (ATCAIface iface, uint8_t option, void *param, size_t paramlen)
 
ATCA_STATUS kit_release (void *hal_data)
 
ATCA_STATUS kit_wrap_cmd (ATCAIface iface, uint8_t word_address, const uint8_t *txdata, int txlen, char *pkitcmd, int *nkitcmd)
 
ATCA_STATUS kit_parse_rsp (const char *pkitbuf, int nkitbuf, uint8_t *kitstatus, uint8_t *rxdata, int *datasize)
 
ATCA_STATUS kit_wake (ATCAIface iface)
 
ATCA_STATUS kit_idle (ATCAIface iface)
 
ATCA_STATUS kit_sleep (ATCAIface iface)
 
ATCA_STATUS kit_phy_send (ATCAIface iface, uint8_t *txdata, int txlength)
 
ATCA_STATUS kit_phy_receive (ATCAIface iface, uint8_t *rxdata, int *rxsize)
 
const char * kit_id_from_devtype (ATCADeviceType devtype)
 
const char * kit_interface_from_kittype (ATCAKitType kittype)
 
const char * kit_interface (ATCAKitType kittype)
 

Detailed Description