Home
last modified time | relevance | path

Searched defs:MessageDigest (Results 1 – 5 of 5) sorted by relevance

/third_party/rust/crates/rust-openssl/openssl/src/
Dhash.rs55 pub struct MessageDigest(*const ffi::EVP_MD); struct
57 impl MessageDigest { implementation
72 pub fn from_nid(type_: Nid) -> Option<MessageDigest> { in from_nid()
88 pub fn from_name(name: &str) -> Option<MessageDigest> { in from_name()
194 unsafe impl Sync for MessageDigest {} implementation
195 unsafe impl Send for MessageDigest {} implementation
436 pub fn hash(t: MessageDigest, data: &[u8]) -> Result<DigestBytes, ErrorStack> { in hash()
457 pub fn hash_xof(t: MessageDigest, data: &[u8], buf: &mut [u8]) -> Result<(), ErrorStack> { in hash_xof()
470 fn hash_test(hashtype: MessageDigest, hashtest: &(&str, &str)) { in hash_test()
476 fn hash_xof_test(hashtype: MessageDigest, hashtest: &(&str, &str)) { in hash_xof_test()
Dpkcs5.rs35 digest: MessageDigest, in bytes_to_key()
95 hash: MessageDigest, in pbkdf2_hmac()
Dsign.rs142 pub fn new<'a, T>(type_: MessageDigest, pkey: &PKeyRef<T>) -> Result<Signer<'a>, ErrorStack> in new()
165 type_: Option<MessageDigest>, in new_intern()
436 pub fn new<T>(type_: MessageDigest, pkey: &'a PKeyRef<T>) -> Result<Verifier<'a>, ErrorStack> in new()
458 type_: Option<MessageDigest>, in new_intern()
713 fn test_hmac(ty: MessageDigest, tests: &[(Vec<u8>, Vec<u8>, Vec<u8>)]) { in test_hmac()
Docsp.rs224 digest: MessageDigest, in from_cert()
/third_party/rust/crates/rust-openssl/openssl/src/ssl/
Dmod.rs2037 pub fn handshake_digest(&self) -> Option<MessageDigest> { in handshake_digest()