Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 18 of 18) sorted by relevance

/webrtc/dtls/src/signature_hash_algorithm/
H A Dsignature_hash_algorithm_test.rs18 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 Dmod.rs92 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 Dhandshake_message_certificate_request_test.rs20 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 Dextension_supported_signature_algorithms_test.rs12 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 Dextension_supported_signature_algorithms.rs28 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 Dhandshake_message_certificate_request.rs43 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 Dhandshake_message_certificate_verify.rs28 writer.write_u8(self.algorithm.hash as u8)?; in marshal()
45 hash: hash_algorithm, in unmarshal()
H A Dhandshake_message_server_key_exchange.rs50 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 Dcrypto_test.rs186 hash: HashAlgorithm::Sha256, in test_certificate_verify()
208 hash: HashAlgorithm::Sha256, in test_certificate_verify()
H A Dmod.rs338 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 Dhandshake_message_certificate_verify_test.rs16 hash: raw_certificate_verify[0].into(), in test_handshake_message_certificate_request()
/webrtc/ice/src/udp_mux/
H A Dudp_mux_test.rs258 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 Dhandshake_message_server_key_exchange_test.rs25 hash: HashAlgorithm::Sha1, in test_handshake_message_server_key_exchange()
/webrtc/dtls/src/flight/
H A Dflight4.rs197 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 Dflight5.rs260 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 Dsdp_test.rs26 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 Dconn_test.rs1814 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 DCargo.lock1744 "universal-hash",
2463 name = "universal-hash"