Home
last modified time | relevance | path

Searched refs:Sha256 (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()
30 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes()
72 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes()
86 hash: HashAlgorithm::Sha256, in test_parse_signature_schemes()
H A Dmod.rs18 Sha256 = 4, enumerator
32 4 => HashAlgorithm::Sha256, in from()
48 HashAlgorithm::Sha256 => write!(f, "sha-256"), // [RFC4055] in fmt()
110 hash: HashAlgorithm::Sha256, in default_signature_schemes()
122 hash: HashAlgorithm::Sha256, in default_signature_schemes()
/webrtc/dtls/src/prf/
H A Dprf_test.rs63 CipherSuiteHash::Sha256, in test_master_secret()
116 CipherSuiteHash::Sha256, in test_encryption_keys()
253 let verify_data = prf_verify_data_client(&master_secret, &final_msg, CipherSuiteHash::Sha256)?; in test_verify_data()
H A Dmod.rs10 use sha2::Sha256;
12 type HmacSha256 = Hmac<Sha256>;
145 CipherSuiteHash::Sha256 => { in hmac_sha()
256 CipherSuiteHash::Sha256 => Sha256::new(), in prf_verify_data()
/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()
/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()
347 SignatureAlgorithm::Rsa if (hash_algorithm.hash == HashAlgorithm::Sha256) => { in verify_signature()
/webrtc/dtls/src/handshake/
H A Dhandshake_cache.rs12 use sha2::{Digest, Sha256};
234 CipherSuiteHash::Sha256 => Sha256::new(), in session_hash()
/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()
/webrtc/dtls/src/cipher_suite/
H A Dmod.rs106 Sha256, enumerator
112 CipherSuiteHash::Sha256 => 32, in size()
H A Dcipher_suite_tls_psk_with_aes_128_gcm_sha256.rs30 CipherSuiteHash::Sha256 in hash_func()
H A Dcipher_suite_aes_128_gcm_sha256.rs47 CipherSuiteHash::Sha256 in hash_func()
H A Dcipher_suite_aes_256_cbc_sha.rs47 CipherSuiteHash::Sha256 in hash_func()
H A Dcipher_suite_aes_128_ccm.rs50 CipherSuiteHash::Sha256 in hash_func()
/webrtc/webrtc/src/peer_connection/
H A Dcertificate.rs4 use sha2::{Digest, Sha256};
192 let mut h = Sha256::new(); in get_fingerprints()
/webrtc/webrtc/src/dtls_transport/
H A Dmod.rs14 use sha2::{Digest, Sha256};
547 let mut h = Sha256::new(); in validate_fingerprint()
/webrtc/dtls/src/handshake/handshake_cache/
H A Dhandshake_cache_test.rs649 let verify_data = h.session_hash(CipherSuiteHash::Sha256, 0, &[]).await?; in test_handshake_cache_session_hash()
/webrtc/dtls/src/conn/
H A Dconn_test.rs1814 hash: HashAlgorithm::Sha256, in test_server_timeout()
1826 hash: HashAlgorithm::Sha256, in test_server_timeout()
2151 hash: HashAlgorithm::Sha256, in test_protocol_version_validation()