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§
Source§impl Clone for EcdhParams
impl Clone for EcdhParams
Source§fn clone(&self) -> EcdhParams
fn clone(&self) -> EcdhParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EcdhParams
impl Debug for EcdhParams
Source§impl Default for EcdhParams
impl Default for EcdhParams
Source§fn default() -> EcdhParams
fn default() -> EcdhParams
Returns the “default value” for a type. Read more
Source§impl PartialEq for EcdhParams
impl PartialEq for EcdhParams
impl StructuralPartialEq for EcdhParams
Auto Trait Implementations§
impl Freeze for EcdhParams
impl RefUnwindSafe for EcdhParams
impl Send for EcdhParams
impl Sync for EcdhParams
impl Unpin for EcdhParams
impl UnwindSafe for EcdhParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more