CryptoAuthLib
Microchip CryptoAuthentication Library
|
Client side cert i/o methods. These declarations deal with the client-side, the node being authenticated, of the authentication process. It is assumed the client has an ECC CryptoAuthentication device (e.g. ATECC508A) and the certificates are stored on that device. More...
Go to the source code of this file.
Functions | |
int | atcacert_read_cert (const atcacert_def_t *cert_def, const uint8_t ca_public_key[64], uint8_t *cert, size_t *cert_size) |
Reads the certificate specified by the certificate definition from the ATECC508A device. More... | |
int | atcacert_write_cert (const atcacert_def_t *cert_def, const uint8_t *cert, size_t cert_size) |
Take a full certificate and write it to the ATECC508A device according to the certificate definition. More... | |
int | atcacert_create_csr (const atcacert_def_t *csr_def, uint8_t *csr, size_t *csr_size) |
Creates a CSR specified by the CSR definition from the ATECC508A device. This process involves reading the dynamic CSR data from the device and combining it with the template found in the CSR definition, then signing it. Return the CSR int der format. More... | |
int | atcacert_create_csr_pem (const atcacert_def_t *csr_def, char *csr, size_t *csr_size) |
Creates a CSR specified by the CSR definition from the ATECC508A device. This process involves reading the dynamic CSR data from the device and combining it with the template found in the CSR definition, then signing it. Return the CSR int der format. More... | |
int | atcacert_get_response (uint8_t device_private_key_slot, const uint8_t challenge[32], uint8_t response[64]) |
Calculates the response to a challenge sent from the host. More... | |
Client side cert i/o methods. These declarations deal with the client-side, the node being authenticated, of the authentication process. It is assumed the client has an ECC CryptoAuthentication device (e.g. ATECC508A) and the certificates are stored on that device.