CryptoAuthLib
Microchip CryptoAuthentication Library
|
CryptoAuthLib Basic API methods for Read command. More...
Functions | |
ATCA_STATUS | atcab_read_zone (uint8_t zone, uint16_t slot, uint8_t block, uint8_t offset, uint8_t *data, uint8_t len) |
Executes Read command, which reads either 4 or 32 bytes of data from a given slot, configuration zone, or the OTP zone. More... | |
ATCA_STATUS | atcab_read_serial_number (uint8_t *serial_number) |
Executes Read command, which reads the 9 byte serial number of the device from the config zone. More... | |
ATCA_STATUS | atcab_is_slot_locked (uint16_t slot, bool *is_locked) |
Executes Read command, which reads the configuration zone to see if the specified slot is locked. More... | |
ATCA_STATUS | atcab_is_locked (uint8_t zone, bool *is_locked) |
Executes Read command, which reads the configuration zone to see if the specified zone is locked. More... | |
ATCA_STATUS | atcab_read_enc (uint16_t key_id, uint8_t block, uint8_t *data, const uint8_t *enc_key, const uint16_t enc_key_id) |
Executes Read command on a slot configured for encrypted reads and decrypts the data to return it as plaintext. More... | |
ATCA_STATUS | atcab_read_config_zone (uint8_t *config_data) |
Executes Read command to read the complete device configuration zone. More... | |
ATCA_STATUS | atcab_cmp_config_zone (uint8_t *config_data, bool *same_config) |
Compares a specified configuration zone with the configuration zone currently on the device. More... | |
ATCA_STATUS | atcab_read_sig (uint16_t slot, uint8_t *sig) |
Executes Read command to read a 64 byte ECDSA P256 signature from a slot configured for clear reads. More... | |
ATCA_STATUS | atcab_read_pubkey (uint16_t slot, uint8_t *public_key) |
Executes Read command to read an ECC P256 public key from a slot configured for clear reads. More... | |
ATCA_STATUS | atcab_read_bytes_zone (uint8_t zone, uint16_t slot, size_t offset, uint8_t *data, size_t length) |
Used to read an arbitrary number of bytes from any zone configured for clear reads. More... | |
CryptoAuthLib Basic API methods for Read command.
The Read command reads words either 4-byte words or 32-byte blocks from one of the memory zones of the device. The data may optionally be encrypted before being returned to the system.