CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
calib_basic.c File Reference

CryptoAuthLib Basic API methods. These methods provide a simpler way to access the core crypto methods. More...

#include "cryptoauthlib.h"

Functions

ATCA_STATUS calib_wakeup_i2c (ATCADevice device)
 basic API methods are all prefixed with atcab_ (CryptoAuthLib Basic) the fundamental premise of the basic API is it is based on a single interface instance and that instance is global, so all basic API commands assume that one global device is the one to operate on.
 
ATCA_STATUS calib_wakeup (ATCADevice device)
 wakeup the CryptoAuth device
 
ATCA_STATUS calib_idle (ATCADevice device)
 idle the CryptoAuth device
 
ATCA_STATUS calib_sleep (ATCADevice device)
 invoke sleep on the CryptoAuth device
 
ATCA_STATUS calib_exit (ATCADevice device)
 common cleanup code which idles the device after any operation
 
ATCA_STATUS calib_get_addr (uint8_t zone, uint16_t slot, uint8_t block, uint8_t offset, uint16_t *addr)
 Compute the address given the zone, slot, block, and offset.
 
ATCA_STATUS calib_ca2_get_addr (uint8_t zone, uint16_t slot, uint8_t block, uint8_t offset, uint16_t *addr)
 Compute the address given the zone, slot, block, and offset for the device.
 
ATCA_STATUS calib_get_zone_size (ATCADevice device, uint8_t zone, uint16_t slot, size_t *size)
 Gets the size of the specified zone in bytes.
 

Detailed Description

CryptoAuthLib Basic API methods. These methods provide a simpler way to access the core crypto methods.