Home
last modified time | relevance | path

Searched refs:Sha512 (Results 1 – 25 of 35) sorted by relevance

12

/external/rust/crates/openssl/src/
Dsha.rs296 pub struct Sha512(ffi::SHA512_CTX);
298 impl Default for Sha512 {
300 fn default() -> Sha512 {
301 Sha512::new()
305 impl Sha512 { impl
309 pub fn new() -> Sha512 {
313 Sha512(ctx.assume_init())
458 let mut hasher = Sha512::new(); in struct_512()
/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/
Dlib.rs26 use bssl_crypto::digest::{Sha256, Sha512};
47 type HkdfSha512 = hkdf::Hkdf<Sha512>;
53 type Sha512 = Sha2Stubs; typedef
/external/rust/beto-rust/nearby/crypto/crypto_provider/src/
Dsha2.rs22 pub trait Sha512 { interface
34 use super::{Sha256, Sha512};
76 sha_cavp_vector_test(<C::Sha512 as Sha512>::sha512, cavp_file_contents) in sha512_cavp_vector_test()
Dhmac.rs86 run_hmac_test_vectors::<64, C::HmacSha512>(HashAlg::Sha512) in hmac_sha512_test_vectors()
91 Sha512, enumerator
99 HashAlg::Sha512 => wycheproof::mac::TestName::HmacSha512, in run_hmac_test_vectors()
Dhkdf.rs269 run_hkdf_test_vectors::<C::HkdfSha512>(HashAlg::Sha512) in run_hkdf_sha512_vectors()
274 Sha512, enumerator
281 HashAlg::Sha512 => wycheproof::hkdf::TestName::HkdfSha512, in run_hkdf_test_vectors()
Dlib.rs65 type Sha512: sha2::Sha512; typedef
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/
Dlib.rs81 type HkdfSha512 = hkdf_rc::Hkdf<sha2::Sha512>;
82 type HmacSha512 = hmac_rc::Hmac<sha2::Sha512>;
88 type Sha512 = sha2_rc::RustCryptoSha512; typedef
Dsha2_rc.rs31 impl crypto_provider::sha2::Sha512 for RustCryptoSha512 {
33 let mut digest = sha2::Sha512::new();
/external/cronet/net/cert/pki/
Dsignature_algorithm.cc263 if (hash == DigestAlgorithm::Sha512 && salt_length == 64) { in ParseRsaPss()
317 *out = DigestAlgorithm::Sha512; in ParseHashAlgorithm()
405 return DigestAlgorithm::Sha512; in GetTlsServerEndpointDigestAlgorithm()
415 return DigestAlgorithm::Sha512; in GetTlsServerEndpointDigestAlgorithm()
Dsignature_algorithm.h28 Sha512, enumerator
/external/boringssl/src/rust/bssl-crypto/src/
Ddigest.rs24 pub struct Sha512 {} struct
54 impl Md for Sha512 { implementation
Dhmac.rs16 digest::{Md, Sha256, Sha512},
40 hmac::<64, Sha512>(key, data)
91 pub struct HmacSha512(Hmac<64, Sha512>);
Dhkdf.rs16 use crate::digest::{Sha256, Sha512};
24 pub type HkdfSha512 = Hkdf<Sha512>;
/external/cronet/third_party/boringssl/src/rust/bssl-crypto/src/
Ddigest.rs24 pub struct Sha512 {} struct
54 impl Md for Sha512 { implementation
Dhmac.rs16 digest::{Md, Sha256, Sha512},
40 hmac::<64, Sha512>(key, data)
91 pub struct HmacSha512(Hmac<64, Sha512>);
Dhkdf.rs16 use crate::digest::{Sha256, Sha512};
24 pub type HkdfSha512 = Hkdf<Sha512>;
/external/okio/okio/src/jvmTest/java/okio/
DMessageDigestConsistencyTest.kt23 import okio.internal.Sha512
44 test("SHA-512") { Sha512() } in sha512()
/external/okio/okio/src/nonJvmMain/kotlin/okio/
DHashingSink.kt23 import okio.internal.Sha512
77 actual fun sha512(sink: Sink) = HashingSink(sink, Sha512())
DHashingSource.kt23 import okio.internal.Sha512
81 actual fun sha512(source: Source) = HashingSource(source, Sha512())
DByteString.kt24 import okio.internal.Sha512
81 actual fun sha512() = digest(Sha512()) in utf8()
/external/rust/beto-rust/nearby/connections/ukey2/ukey2/src/
Dukey2_handshake.rs27 sha2::{Sha256, Sha512},
300 let hash_bytes = C::Sha512::sha512(client_finished_msg_bytes); in handle_client_finished_msg()
406 C::Sha512::sha512(&curve25519_client_finished_bytes).to_vec(); in from()
428 let p256_client_finished_hash = C::Sha512::sha512(&p256_client_finished_bytes).to_vec(); in from()
Dtests.rs94 let mut hasher = sha2::Sha512::new(); in advance_from_init_to_complete_server_x25519_test()
152 let mut hasher = sha2::Sha512::new(); in advance_from_init_to_complete_server_p256_test()
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/
Dsha2.rs60 impl crypto_provider::sha2::Sha512 for OpenSslSha512 {
/external/avb/test/
Davb_crypto_ops_unittest.cc76 TEST(CryptoOpsTest, Sha512) { in TEST() argument
/external/okio/okio/src/hashFunctions/kotlin/okio/internal/
DHmac.kt49 create(key, hashFunction = Sha512(), blockLength = 128) in sha1()

12