Crate rust_cryptoauthlib[][src]

Structs

AtcaDeviceDeprecated

The Rust box for C object backing ATCADevice

AtcaIfaceCfg

ATECC interface configuration

AtcaIfaceI2c

ATECC I2C interface details

AtcaSlot

An ATECC slot

AteccDevice

An ATECC cryptochip context holder.

EccKeyAttr

Detailed ECC key attributes as stored in slot configuration

ReadKey

Detailed ATECC key slot read attributes

SlotConfig

Detailed ATECC key slot configuration

Enums

AtcaDeviceType

ATECC/ATSHA device types supported by CryptoAuth library

AtcaIfaceType

Supported ATECC interfaces

AtcaStatus

Return status for device accessing functions

KeyType

ATECC key slot types

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_SLOTS_COUNT

Number of key slots in ATECC cryptochip

ATCA_ATSHA_CONFIG_BUFFER_SIZE

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

ATCA_RANDOM_BUFFER_SIZE

Number of random bytes generated by atcab_random call

ATCA_ZONE_CONFIG
ATCA_ZONE_DATA
ATCA_ZONE_OTP

Functions

atca_iface_setup_i2c

Setup an ATECC interface configuration (AtcaIfaceCfg) based on a device type and I2C parameters. This is a helper function, created for I2C exclusively.

Unions

AtcaIface

ATECC interface