26#include "cryptoauthlib.h"
30#ifdef CUSTOM_ATCA_PARAMS
31#include "custom_atca_params.h"
34#if IS_USED(MODULE_PSA_SECURE_ELEMENT_ATECCX08A)
59#define ATCA_PARAM_I2C (I2C_DEV(0))
62#ifndef ATCA_PARAM_ADDR
63#define ATCA_PARAM_ADDR (ATCA_I2C_ADDR)
65#ifndef ATCA_RX_RETRIES
66#define ATCA_RX_RETRIES (20)
69#define ATCA_DEVTYPE (ATECC608A)
76#define ATCA_PARAMS { .iface_type = ATCA_I2C_IFACE, \
77 .devtype = ATCA_DEVTYPE, \
78 .atcai2c.address = ATCA_PARAM_ADDR, \
79 .atcai2c.bus = ATCA_PARAM_I2C, \
82 .rx_retries = ATCA_RX_RETRIES }
87#if IS_USED(MODULE_PSA_SECURE_ELEMENT_ATECCX08A)
116#define ATCA_NUMOF (ARRAY_SIZE(atca_params))
Default addresses and device descriptor for CryptoAuth devices.
Type definitions for PSA Crypto.
uint32_t psa_key_location_t
Encoding of key location indicators.
static const ATCAIfaceCfg atca_params[]
Allocation of ATCA device descriptors.
#define ATCA_PARAMS
Configuration parameters for the primary ATCA device.
ATCADevice atca_devs_ptr[ATCA_NUMOF]
List of device pointers for all available devices.
#define ATCA_NUMOF
Number of connected devices.
Low-level I2C peripheral driver interface definition.
Common macros and compiler attributes/pragmas configuration.