Enum rust_cryptoauthlib::EcdhTarget
source · [−]#[repr(u8)]
pub enum EcdhTarget {
Compatibility,
Slot,
TempKey,
Output,
}
Expand description
Target where the result of the ECDH operation will be placed
Variants
Compatibility
Compatibility mode for ATECC508A. Result goes to either the output buffer or (slot_id + 1) depending on the state of slots[slot_idx].config.ecc_key_attr.ecdh_secret_out
Slot
Result goes to slot specified by KeyID. slots[slot_idx].write_config must be ALWAYS (only relevant for the ATECC608x chip)
TempKey
Result goes to TempKey (only relevant for the ATECC608x chip)
Output
Result goes to the output buffer (only relevant for the ATECC608x chip)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for EcdhTarget
impl Send for EcdhTarget
impl Sync for EcdhTarget
impl Unpin for EcdhTarget
impl UnwindSafe for EcdhTarget
Blanket Implementations
Mutably borrows from an owned value. Read more