Searched refs:HmacAlgorithm (Results 1 – 1 of 1) sorted by relevance
8 pub(crate) enum HmacAlgorithm { enum16 impl fmt::Display for HmacAlgorithm { implementation20 HmacAlgorithm::HmacSha128 => "HMAC SHA-128", in fmt()29 impl From<u16> for HmacAlgorithm { implementation30 fn from(v: u16) -> HmacAlgorithm { in from() argument32 0 => HmacAlgorithm::HmacResv1, in from()33 1 => HmacAlgorithm::HmacSha128, in from()34 2 => HmacAlgorithm::HmacResv2, in from()35 3 => HmacAlgorithm::HmacSha256, in from()36 _ => HmacAlgorithm::Unknown, in from()[all …]