Struct rust_cryptoauthlib::EcdhParams
source · [−]pub struct EcdhParams {
pub key_source: EcdhSource,
pub out_target: EcdhTarget,
pub out_encrypt: bool,
pub slot_id: Option<u8>,
}
Expand description
ECDH function parameters
Fields
key_source: EcdhSource
private key source for ECDH
out_target: EcdhTarget
target where the result of the ECDH operation will be placed
out_encrypt: bool
parameter that specifies whether the output should be encrypted (only relevant for the ATECC608x chip)
slot_id: Option<u8>
slot number where the private key will be retrieved or where result of the ECDH operation will be placed
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for EcdhParams
impl Send for EcdhParams
impl Sync for EcdhParams
impl Unpin for EcdhParams
impl UnwindSafe for EcdhParams
Blanket Implementations
Mutably borrows from an owned value. Read more