Home
last modified time | relevance | path

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

/external/conscrypt/src/main/java/org/conscrypt/ct/
DDigitallySigned.java26 public enum HashAlgorithm { enum in DigitallySigned
35 private static HashAlgorithm[] values = values();
36 public static HashAlgorithm valueOf(int ord) { in valueOf()
61 private final HashAlgorithm hashAlgorithm;
65 public DigitallySigned(HashAlgorithm hashAlgorithm, in DigitallySigned()
77 HashAlgorithm.valueOf(hashAlgorithm), in DigitallySigned()
83 public HashAlgorithm getHashAlgorithm() { in getHashAlgorithm()
/external/libchrome/crypto/
Dsignature_verifier.h31 enum HashAlgorithm { enum
85 bool VerifyInitRSAPSS(HashAlgorithm hash_alg,
86 HashAlgorithm mask_hash_alg,
136 HashAlgorithm hash_alg_;
137 HashAlgorithm mask_hash_alg_;
Dsignature_creator_openssl.cc22 const EVP_MD* ToOpenSSLDigest(SignatureCreator::HashAlgorithm hash_alg) { in ToOpenSSLDigest()
32 int ToOpenSSLDigestType(SignatureCreator::HashAlgorithm hash_alg) { in ToOpenSSLDigestType()
46 HashAlgorithm hash_alg) { in Create()
63 HashAlgorithm hash_alg, in Sign()
Dsignature_creator_nss.cc21 SECOidTag ToNSSSigOid(SignatureCreator::HashAlgorithm hash_alg) { in ToNSSSigOid()
31 SECOidTag ToNSSHashOid(SignatureCreator::HashAlgorithm hash_alg) { in ToNSSHashOid()
52 HashAlgorithm hash_alg) { in Create()
71 HashAlgorithm hash_alg, in Sign()
Dsignature_creator.h33 enum HashAlgorithm { enum
43 static SignatureCreator* Create(RSAPrivateKey* key, HashAlgorithm hash_alg);
49 HashAlgorithm hash_alg,
Dhmac.h28 enum HashAlgorithm { enum
33 explicit HMAC(HashAlgorithm hash_alg);
87 HashAlgorithm hash_alg_;
Dsignature_verifier_openssl.cc22 const EVP_MD* ToOpenSSLDigest(SignatureVerifier::HashAlgorithm hash_alg) { in ToOpenSSLDigest()
75 bool SignatureVerifier::VerifyInitRSAPSS(HashAlgorithm hash_alg, in VerifyInitRSAPSS()
76 HashAlgorithm mask_hash_alg, in VerifyInitRSAPSS()
Dsignature_verifier_nss.cc23 HASH_HashType ToNSSHashType(SignatureVerifier::HashAlgorithm hash_alg) { in ToNSSHashType()
139 bool SignatureVerifier::VerifyInitRSAPSS(HashAlgorithm hash_alg, in VerifyInitRSAPSS()
140 HashAlgorithm mask_hash_alg, in VerifyInitRSAPSS()
Dhmac_openssl.cc24 HMAC::HMAC(HashAlgorithm hash_alg) : hash_alg_(hash_alg) { in HMAC()
Dhmac_nss.cc24 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC()
Dsignature_creator_unittest.cc120 key.get(), crypto::SignatureCreator::HashAlgorithm::SHA256, in TEST()
Dhmac_win.cc107 HMAC::HMAC(HashAlgorithm hash_alg) in HMAC()
/external/conscrypt/src/test/java/org/conscrypt/ct/
DSerializationTest.java43 assertEquals(DigitallySigned.HashAlgorithm.SHA256, in test_decode_SignedCertificateTimestamp()
92 assertEquals(DigitallySigned.HashAlgorithm.SHA256, dst.getHashAlgorithm()); in test_decode_DigitallySigned()