Enum psa_crypto::types::algorithm::KeyDerivation [−][src]
pub enum KeyDerivation {
Hkdf {
hash_alg: Hash,
},
Tls12Prf {
hash_alg: Hash,
},
Tls12PskToMs {
hash_alg: Hash,
},
}
Expand description
Enumeration of key derivation functions supported.
Variants
Hkdf
Fields
hash_alg: Hash
A hash algorithm to use.
HKDF algorithm.
Tls12Prf
Fields
hash_alg: Hash
A hash algorithm to use.
TLS-1.2 PRF algorithm.
Tls12PskToMs
Fields
hash_alg: Hash
A hash algorithm to use.
TLS-1.2 PSK-to-MasterSecret algorithm.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Performs the conversion.
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 KeyDerivation
impl Send for KeyDerivation
impl Sync for KeyDerivation
impl Unpin for KeyDerivation
impl UnwindSafe for KeyDerivation
Blanket Implementations
Mutably borrows from an owned value. Read more