CryptoAuthLib
Microchip CryptoAuthentication Library
atca_basic_privwrite.c File Reference

CryptoAuthLib Basic API methods for PrivWrite command. More...

#include "atca_basic.h"
#include "atca_execution.h"
#include "host/atca_host.h"

Functions

ATCA_STATUS atcab_priv_write (uint16_t key_id, const uint8_t priv_key[36], uint16_t write_key_id, const uint8_t write_key[32])
 Executes PrivWrite command, to write externally generated ECC private keys into the device. More...
 

Detailed Description

CryptoAuthLib Basic API methods for PrivWrite command.

The PrivWrite command is used to write externally generated ECC private keys into the device.

Note
List of devices that support this command - ATECC108A, ATECC508A, and ATECC608A. There are differences in the modes that they support. Refer to device datasheets for full details.