Home
last modified time | relevance | path

Searched refs:SignatureVerifier (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/crypto/
Dsignature_verifier_openssl.cc22 const EVP_MD* ToOpenSSLDigest(SignatureVerifier::HashAlgorithm hash_alg) { in ToOpenSSLDigest()
24 case SignatureVerifier::SHA1: in ToOpenSSLDigest()
26 case SignatureVerifier::SHA256: in ToOpenSSLDigest()
34 struct SignatureVerifier::VerifyContext {
38 SignatureVerifier::SignatureVerifier() in SignatureVerifier() function in crypto::SignatureVerifier
42 SignatureVerifier::~SignatureVerifier() { in ~SignatureVerifier()
46 bool SignatureVerifier::VerifyInit(const uint8_t* signature_algorithm, in VerifyInit()
75 bool SignatureVerifier::VerifyInitRSAPSS(HashAlgorithm hash_alg, in VerifyInitRSAPSS()
110 void SignatureVerifier::VerifyUpdate(const uint8_t* data_part, in VerifyUpdate()
119 bool SignatureVerifier::VerifyFinal() { in VerifyFinal()
[all …]
Dsignature_verifier_nss.cc23 HASH_HashType ToNSSHashType(SignatureVerifier::HashAlgorithm hash_alg) { in ToNSSHashType()
25 case SignatureVerifier::SHA1: in ToNSSHashType()
27 case SignatureVerifier::SHA256: in ToNSSHashType()
63 SignatureVerifier::SignatureVerifier() in SignatureVerifier() function in crypto::SignatureVerifier
73 SignatureVerifier::~SignatureVerifier() { in ~SignatureVerifier()
77 bool SignatureVerifier::VerifyInit(const uint8_t* signature_algorithm, in VerifyInit()
139 bool SignatureVerifier::VerifyInitRSAPSS(HashAlgorithm hash_alg, in VerifyInitRSAPSS()
167 void SignatureVerifier::VerifyUpdate(const uint8_t* data_part, in VerifyUpdate()
177 bool SignatureVerifier::VerifyFinal() { in VerifyFinal()
195 SECKEYPublicKey* SignatureVerifier::DecodePublicKeyInfo( in DecodePublicKeyInfo()
[all …]
Dsignature_verifier_unittest.cc202 crypto::SignatureVerifier verifier; in TEST()
1106 crypto::SignatureVerifier verifier; in TEST()
1110 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, in TEST()
1111 crypto::SignatureVerifier::SHA1, in TEST()
1122 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, in TEST()
1123 crypto::SignatureVerifier::SHA1, in TEST()
1137 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, in TEST()
1138 crypto::SignatureVerifier::SHA1, in TEST()
1150 ok = verifier.VerifyInitRSAPSS(crypto::SignatureVerifier::SHA1, in TEST()
1151 crypto::SignatureVerifier::SHA1, in TEST()
Dsignature_verifier.h28 class CRYPTO_EXPORT SignatureVerifier {
36 SignatureVerifier();
37 ~SignatureVerifier();
Dsignature_creator_unittest.cc57 crypto::SignatureVerifier verifier; in TEST()
92 crypto::SignatureVerifier verifier; in TEST()
128 crypto::SignatureVerifier verifier; in TEST()