CryptoAuthLib
Microchip CryptoAuthentication Library
atcacert_host_hw.c File Reference

host side methods using CryptoAuth hardware More...

Functions

int atcacert_verify_cert_hw (const atcacert_def_t *cert_def, const uint8_t *cert, size_t cert_size, const uint8_t ca_public_key[64])
 Verify a certificate against its certificate authority's public key using the host's ATECC device for crypto functions. More...
 
int atcacert_gen_challenge_hw (uint8_t challenge[32])
 Generate a random challenge to be sent to the client using the RNG on the host's ATECC device. More...
 
int atcacert_verify_response_hw (const uint8_t device_public_key[64], const uint8_t challenge[32], const uint8_t response[64])
 Verify a client's response to a challenge using the host's ATECC device for crypto functions. More...
 

Detailed Description

host side methods using CryptoAuth hardware