22#include "cryptoauthlib.h"
26#ifdef CUSTOM_ATCA_PARAMS
27#include "custom_atca_params.h"
30#if IS_USED(MODULE_PSA_SECURE_ELEMENT_ATECCX08A)
55#define ATCA_PARAM_I2C (I2C_DEV(0))
58#ifndef ATCA_PARAM_ADDR
59#define ATCA_PARAM_ADDR (ATCA_I2C_ADDR)
61#ifndef ATCA_RX_RETRIES
62#define ATCA_RX_RETRIES (20)
65#define ATCA_DEVTYPE (ATECC608A)
72#define ATCA_PARAMS { .iface_type = ATCA_I2C_IFACE, \
73 .devtype = ATCA_DEVTYPE, \
74 .atcai2c.address = ATCA_PARAM_ADDR, \
75 .atcai2c.bus = ATCA_PARAM_I2C, \
78 .rx_retries = ATCA_RX_RETRIES }
83#if IS_USED(MODULE_PSA_SECURE_ELEMENT_ATECCX08A)
112#define ATCA_NUMOF (ARRAY_SIZE(atca_params))
Default addresses and device descriptor for CryptoAuth devices.
Type definitions for PSA Crypto.
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.
uint32_t psa_key_location_t
Encoding of key location indicators.