Crate rust_cryptoauthlib[][src]

Structs

AtcaIfaceCfg

ATECC interface configuration

AtcaIfaceI2c

ATECC I2C interface details

AtcaSlot

An ATECC slot

ChipOptions

structure that stores data for options supported by the chip

EccKeyAttr

Detailed ECC key attributes as stored in slot configuration

ReadKey

Detailed ATECC key slot read attributes

SignEcdsaParam

Detailed parameters of calling the ECDSA signature function

SlotConfig

Detailed ATECC key slot configuration

VerifyEcdsaParam

Detailed parameters of calling the ECDSA verification function

Enums

AtcaDeviceType

ATECC/ATSHA device types supported by CryptoAuth library

AtcaIfaceType

Supported ATECC interfaces

AtcaStatus

Return status for device accessing functions

GenDigZone

Designates the source of the data to hash with TempKey for Generate Digest

InfoCmdType

Modes of calling the info_cmd() function

KeyType

ATECC key slot types

NonceTarget

An ATECC/ATSHA device buffer to load

OutputProtectionState
SignMode

The mode of calling the ECDSA signature function

VerifyMode

The mode of calling the ECDSA verification function

WriteConfig

Detailed ATECC key slot write configuration

Constants

ATCA_AES_KEY_SIZE

Size (in bytes) of AES key

ATCA_ATECC_CONFIG_BUFFER_SIZE

Size of a configuration buffer size in ATECCx08

ATCA_ATECC_MIN_SLOT_IDX_FOR_PUB_KEY

Minimum ATECC slot number where a public ECC key can be stored

ATCA_ATECC_PRIV_KEY_SIZE

Private key size (in bytes) for elliptic curve P256 supported by ATECC

ATCA_ATECC_PUB_KEY_SIZE

Public key size (in bytes) for elliptic curve P256 supported by ATECC

ATCA_ATECC_SLOTS_COUNT

Number of key slots in ATECC cryptochip

ATCA_ATECC_TEMPKEY_KEYID

ATECC/ATSHA temporary key slot identifier

ATCA_ATSHA_CONFIG_BUFFER_SIZE

Size of a configuration buffer size in ATSHA 204A/206A

ATCA_BLOCK_SIZE

ATECC/ATSHA EEPROM block size

ATCA_KEY_SIZE
ATCA_LOCK_ZONE_CONFIG
ATCA_LOCK_ZONE_DATA
ATCA_NONCE_NUMIN_SIZE

Nonce NumIn size for random modes

ATCA_NONCE_SIZE

Nonce NumIn size for 32-byte pass-through mode

ATCA_RANDOM_BUFFER_SIZE

Number of random bytes generated by atcab_random call

ATCA_SERIAL_NUM_SIZE

Chip serial number size

ATCA_SHA2_256_DIGEST_SIZE

Size (in bytes) of SHA hash

ATCA_SIG_SIZE

Size (in bytes) of ECDSA signature

ATCA_ZONE_CONFIG
ATCA_ZONE_DATA
ATCA_ZONE_OTP

Traits

AteccDeviceTrait

Functions

setup_atecc_device

Type Definitions

AteccDevice

Unions

AtcaIface

ATECC interface