Searched refs:Sha1 (Results 1 – 8 of 8) sorted by relevance
16 Sha1 = 2, // Blacklisted enumerator30 2 => HashAlgorithm::Sha1, in from()46 HashAlgorithm::Sha1 => write!(f, "sha-1"), // [RFC3279] in fmt()61 HashAlgorithm::Md2 | HashAlgorithm::Md5 | HashAlgorithm::Sha1 in insecure()
90 hash: HashAlgorithm::Sha1, in test_parse_signature_schemes()
25 hash: HashAlgorithm::Sha1, in test_handshake_message_server_key_exchange()
40 hash: HashAlgorithm::Sha1, in test_handshake_message_certificate_request()
11 use sha1::Sha1;15 type HmacSha1 = Hmac<Sha1>;
13 use sha1::{Digest, Sha1};289 let mut hasher = Sha1::new(); in sha1_hash()
8 use sha1::Sha1;13 type HmacSha1 = Hmac<Sha1>;
344 SignatureAlgorithm::Rsa if hash_algorithm.hash == HashAlgorithm::Sha1 => { in verify_signature()