Enum psa_crypto::types::key_derivation::InputSecret [−][src]
pub enum InputSecret<'a> {
Input(Input<'a>),
KeyAgreement {
alg: RawKeyAgreement,
private_key: Id,
peer_key: &'a [u8],
},
}
Expand description
Enumeration of supported input data for different input steps
Variants
Input(Input<'a>)
Tuple Fields
0: Input<'a>
Regular input of bytes or a key ID
KeyAgreement
Fields
alg: RawKeyAgreement
Key agreement algorithm to use
private_key: Id
Private key to use in key agreement
Output of a key agreement
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for InputSecret<'a>
impl<'a> Send for InputSecret<'a>
impl<'a> Sync for InputSecret<'a>
impl<'a> Unpin for InputSecret<'a>
impl<'a> UnwindSafe for InputSecret<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more