Home
last modified time | relevance | path

Searched refs:HashAlgorithm (Results 1 – 11 of 11) sorted by relevance

/webrtc/dtls/src/signature_hash_algorithm/
H A Dmod.rs13 pub enum HashAlgorithm { enum
25 impl From<u8> for HashAlgorithm { implementation
28 0 => HashAlgorithm::Md2, in from()
29 1 => HashAlgorithm::Md5, in from()
30 2 => HashAlgorithm::Sha1, in from()
31 3 => HashAlgorithm::Sha224, in from()
32 4 => HashAlgorithm::Sha256, in from()
41 impl fmt::Display for HashAlgorithm { implementation
57 impl HashAlgorithm { implementation
61 HashAlgorithm::Md2 | HashAlgorithm::Md5 | HashAlgorithm::Sha1 in insecure()
[all …]
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()
/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/crypto/
H A Dmod.rs12 use crate::signature_hash_algorithm::{HashAlgorithm, SignatureAlgorithm, SignatureHashAlgorithm};
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()
H A Dcrypto_test.rs186 hash: HashAlgorithm::Sha256, in test_certificate_verify()
208 hash: HashAlgorithm::Sha256, in test_certificate_verify()
/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/handshake/
H A Dhandshake_message_server_key_exchange.rs73 hash: HashAlgorithm::Unsupported, in unmarshal()
/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/dtls/src/flight/
H A Dflight5.rs260 hash: HashAlgorithm::Unsupported, in generate()
H A Dflight4.rs698 hash: HashAlgorithm::Unsupported, in generate()