CryptoAuthLib v3.7.6
Microchip CryptoAuthentication Library
 
Loading...
Searching...
No Matches
atcacert_host_hw.h File Reference

host side methods using CryptoAuth hardware More...

#include <stddef.h>
#include <stdint.h>
#include "atcacert_def.h"

Functions

ATCA_STATUS 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.
 
ATCA_STATUS 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.
 
ATCA_STATUS 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.
 

Detailed Description

host side methods using CryptoAuth hardware