Lines Matching refs:Hmac
75 Hmac(KeySizeInBits), enumerator
149 Hmac(OpaqueOr<hmac::Key>), enumerator
172 Self::Aes(_) | Self::TripleDes(_) | Self::Hmac(_) => false, in is_asymmetric()
223 Self::Hmac(_) => f.write_str("Hmac(...)"), in fmt()
273 x if x == Algorithm::Hmac as i32 => { in from_cbor_value()
276 Ok(Self::Hmac(OpaqueKeyMaterial(raw_key).into())) in from_cbor_value()
278 Ok(Self::Hmac(hmac::Key(raw_key).into())) in from_cbor_value()
347 Self::Hmac(OpaqueOr::Opaque(OpaqueKeyMaterial(k))) => vec_try![ in to_cbor_value()
348 cbor::value::Value::Integer((Algorithm::Hmac as i32).into()), in to_cbor_value()
390 Self::Hmac(OpaqueOr::Explicit(k)) => vec_try![ in to_cbor_value()
391 cbor::value::Value::Integer((Algorithm::Hmac as i32).into()), in to_cbor_value()
442 Algorithm::Hmac as i32, in cddl_schema()
484 pub fn hmac_sha256(hmac: &dyn Hmac, key: &[u8], data: &[u8]) -> Result<Vec<u8>, Error> { in hmac_sha256() argument
491 impl<T: Hmac> Hkdf for T {