| /webrtc/dtls/src/signature_hash_algorithm/ |
| H A D | signature_hash_algorithm_test.rs | 18 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes() 22 hash: HashAlgorithm::Sha384, in test_parse_signature_schemes() 26 hash: HashAlgorithm::Sha512, in test_parse_signature_schemes() 30 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes() 34 hash: HashAlgorithm::Sha384, in test_parse_signature_schemes() 38 hash: HashAlgorithm::Sha512, in test_parse_signature_schemes() 72 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes() 86 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes() 90 hash: HashAlgorithm::Sha1, in test_parse_signature_schemes() 110 hash: HashAlgorithm::Ed25519, in test_parse_signature_schemes()
|
| H A D | mod.rs | 92 pub hash: HashAlgorithm, field 110 hash: HashAlgorithm::Sha256, in default_signature_schemes() 114 hash: HashAlgorithm::Sha384, in default_signature_schemes() 118 hash: HashAlgorithm::Sha512, in default_signature_schemes() 122 hash: HashAlgorithm::Sha256, in default_signature_schemes() 126 hash: HashAlgorithm::Sha384, in default_signature_schemes() 130 hash: HashAlgorithm::Sha512, in default_signature_schemes() 134 hash: HashAlgorithm::Ed25519, in default_signature_schemes() 205 hash: h, in parse_signature_schemes()
|
| /webrtc/dtls/src/handshake/handshake_message_certificate_request/ |
| H A D | handshake_message_certificate_request_test.rs | 20 hash: HashAlgorithm::Sha256, in test_handshake_message_certificate_request() 24 hash: HashAlgorithm::Sha256, in test_handshake_message_certificate_request() 28 hash: HashAlgorithm::Sha384, in test_handshake_message_certificate_request() 32 hash: HashAlgorithm::Sha384, in test_handshake_message_certificate_request() 36 hash: HashAlgorithm::Sha512, in test_handshake_message_certificate_request() 40 hash: HashAlgorithm::Sha1, in test_handshake_message_certificate_request()
|
| /webrtc/dtls/src/extension/extension_supported_signature_algorithms/ |
| H A D | extension_supported_signature_algorithms_test.rs | 12 hash: HashAlgorithm::Sha256, in test_extension_supported_signature_algorithms() 16 hash: HashAlgorithm::Sha384, in test_extension_supported_signature_algorithms() 20 hash: HashAlgorithm::Sha512, in test_extension_supported_signature_algorithms()
|
| /webrtc/dtls/src/extension/ |
| H A D | extension_supported_signature_algorithms.rs | 28 writer.write_u8(v.hash as u8)?; in marshal() 41 let hash = reader.read_u8()?.into(); in unmarshal() localVariable 43 signature_hash_algorithms.push(SignatureHashAlgorithm { hash, signature }); in unmarshal()
|
| /webrtc/dtls/src/handshake/ |
| H A D | handshake_message_certificate_request.rs | 43 writer.write_u8(v.hash as u8)?; in marshal() 65 let hash = reader.read_u8()?.into(); in unmarshal() localVariable 68 signature_hash_algorithms.push(SignatureHashAlgorithm { hash, signature }); in unmarshal()
|
| H A D | handshake_message_certificate_verify.rs | 28 writer.write_u8(self.algorithm.hash as u8)?; in marshal() 45 hash: hash_algorithm, in unmarshal()
|
| H A D | handshake_message_server_key_exchange.rs | 50 writer.write_u8(self.algorithm.hash as u8)?; in marshal() 73 hash: HashAlgorithm::Unsupported, in unmarshal() 126 hash: hash_algorithm, in unmarshal()
|
| /webrtc/dtls/src/crypto/ |
| H A D | crypto_test.rs | 186 hash: HashAlgorithm::Sha256, in test_certificate_verify() 208 hash: HashAlgorithm::Sha256, in test_certificate_verify()
|
| H A D | mod.rs | 338 SignatureAlgorithm::Ecdsa if hash_algorithm.hash == HashAlgorithm::Sha256 => { in verify_signature() 341 SignatureAlgorithm::Ecdsa if hash_algorithm.hash == HashAlgorithm::Sha384 => { in verify_signature() 344 SignatureAlgorithm::Rsa if hash_algorithm.hash == HashAlgorithm::Sha1 => { in verify_signature() 347 SignatureAlgorithm::Rsa if (hash_algorithm.hash == HashAlgorithm::Sha256) => { in verify_signature() 354 SignatureAlgorithm::Rsa if hash_algorithm.hash == HashAlgorithm::Sha384 => { in verify_signature() 357 SignatureAlgorithm::Rsa if hash_algorithm.hash == HashAlgorithm::Sha512 => { in verify_signature()
|
| /webrtc/dtls/src/handshake/handshake_message_certificate_verify/ |
| H A D | handshake_message_certificate_verify_test.rs | 16 hash: raw_certificate_verify[0].into(), in test_handshake_message_certificate_request()
|
| /webrtc/ice/src/udp_mux/ |
| H A D | udp_mux_test.rs | 258 let hash = sha1_hash(&buffer[24..]); in test_mux_connection() localVariable 259 buffer[4..24].copy_from_slice(&hash); in test_mux_connection() 284 let hash = sha1_hash(&buffer[24..]); in verify_packet() localVariable 285 assert_eq!(hash, buffer[4..24]); in verify_packet()
|
| /webrtc/dtls/src/handshake/handshake_message_server_key_exchange/ |
| H A D | handshake_message_server_key_exchange_test.rs | 25 hash: HashAlgorithm::Sha1, in test_handshake_message_server_key_exchange()
|
| /webrtc/dtls/src/flight/ |
| H A D | flight4.rs | 197 if ss.hash == h.algorithm.hash && ss.signature == h.algorithm.signature { in parse() 650 hash: signature_hash_algo.hash, in generate() 698 hash: HashAlgorithm::Unsupported, in generate()
|
| H A D | flight5.rs | 260 hash: HashAlgorithm::Unsupported, in generate() 690 if ss.hash == h.algorithm.hash && ss.signature == h.algorithm.signature { in initalize_cipher_suite()
|
| /webrtc/webrtc/src/peer_connection/sdp/ |
| H A D | sdp_test.rs | 26 let (fingerprint, hash) = extract_fingerprint(&s)?; in test_extract_fingerprint() 28 assert_eq!(hash, "foo"); in test_extract_fingerprint() 44 let (fingerprint, hash) = extract_fingerprint(&s)?; in test_extract_fingerprint() 46 assert_eq!(hash, "foo"); in test_extract_fingerprint()
|
| /webrtc/dtls/src/conn/ |
| H A D | conn_test.rs | 1814 hash: HashAlgorithm::Sha256, in test_server_timeout() 1818 hash: HashAlgorithm::Sha384, in test_server_timeout() 1822 hash: HashAlgorithm::Sha512, in test_server_timeout() 1826 hash: HashAlgorithm::Sha256, in test_server_timeout() 1830 hash: HashAlgorithm::Sha384, in test_server_timeout() 1834 hash: HashAlgorithm::Sha512, in test_server_timeout() 2151 hash: HashAlgorithm::Sha256, in test_protocol_version_validation()
|
| /webrtc/ |
| H A D | Cargo.lock | 1744 "universal-hash", 2463 name = "universal-hash"
|