28 #ifndef _ATCA_MBEDTLS_WRAP_H_ 29 #define _ATCA_MBEDTLS_WRAP_H_ 42 struct mbedtls_pk_context;
43 struct mbedtls_x509_crt;
int atca_mbedtls_cert_add(struct mbedtls_x509_crt *cert, const struct atcacert_def_s *cert_def)
int atca_mbedtls_ecdh_slot_cb(void)
ECDH Callback to obtain the "slot" used in ECDH operations from the application.
int atca_mbedtls_pk_init(struct mbedtls_pk_context *pkey, const uint16_t slotid)
Initializes an mbedtls pk context for use with EC operations.
Definition: atca_mbedtls_wrap.c:105
int atca_mbedtls_ecdh_ioprot_cb(uint8_t secret[32])
ECDH Callback to obtain the IO Protection secret from the application.
Definition: atcacert_def.h:149