Lines Matching refs:Algorithm
116 pub struct Algorithm(&'static digest::Algorithm); struct
118 impl Algorithm { implementation
121 pub fn digest_algorithm(&self) -> &'static digest::Algorithm { in digest_algorithm() argument
127 pub static HMAC_SHA1_FOR_LEGACY_USE_ONLY: Algorithm = Algorithm(&digest::SHA1_FOR_LEGACY_USE_ONLY);
130 pub static HMAC_SHA256: Algorithm = Algorithm(&digest::SHA256);
133 pub static HMAC_SHA384: Algorithm = Algorithm(&digest::SHA384);
136 pub static HMAC_SHA512: Algorithm = Algorithm(&digest::SHA512);
175 algorithm: Algorithm, in generate() argument
181 fn construct<F>(algorithm: Algorithm, fill: F) -> Result<Self, error::Unspecified> in construct() argument
210 pub fn new(algorithm: Algorithm, key_value: &[u8]) -> Self { in new() argument
252 pub fn algorithm(&self) -> Algorithm { in algorithm() argument
253 Algorithm(self.inner.algorithm) in algorithm()
257 impl hkdf::KeyType for Algorithm { implementation
263 impl From<hkdf::Okm<'_, Algorithm>> for Key {
264 fn from(okm: hkdf::Okm<Algorithm>) -> Self { in from()