Struct rust_cryptoauthlib::ReadKey
source · [−]Expand description
Detailed ATECC key slot read attributes
Fields
encrypt_read: bool
true = Reads from this slot will be encrypted using the procedure specified in the Read command using value of ‘slot_number’ to generate the encryption key. No input MAC is required. If this bit is true, then ‘is_secret’ from ‘SlotConfig’ struct must also be set. false = Clear text reads may be permitted, and the ‘slot_number’ field is irrelevant.
slot_number: u8
Valid range from 0 to 15. If 0 then this slot can be the source for the CheckMac copy operation. Do not use zero as a default. Do not set this field to zero unless the CheckMac copy operation is explicitly desired, regardless of any other read/write restrictions.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReadKey
impl UnwindSafe for ReadKey
Blanket Implementations
Mutably borrows from an owned value. Read more