Home
last modified time | relevance | path

Searched refs:digest_algorithm_ (Results 1 – 4 of 4) sorted by relevance

/system/keymaster/
Decdsa_operation.cpp75 digest_algorithm_ = EVP_sha1(); in InitDigest()
78 digest_algorithm_ = EVP_sha224(); in InitDigest()
81 digest_algorithm_ = EVP_sha256(); in InitDigest()
84 digest_algorithm_ = EVP_sha384(); in InitDigest()
87 digest_algorithm_ = EVP_sha512(); in InitDigest()
118 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin()
179 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin()
Drsa_operation.cpp202 digest_algorithm_ = EVP_md5(); in InitDigest()
205 digest_algorithm_ = EVP_sha1(); in InitDigest()
208 digest_algorithm_ = EVP_sha224(); in InitDigest()
211 digest_algorithm_ = EVP_sha256(); in InitDigest()
214 digest_algorithm_ = EVP_sha384(); in InitDigest()
217 digest_algorithm_ = EVP_sha512(); in InitDigest()
245 if (EVP_MD_size(digest_algorithm_) + kPssOverhead + kMinPssSaltSize > in GetOpensslPadding()
249 EVP_MD_size(digest_algorithm_), EVP_PKEY_size(rsa_key_)); in GetOpensslPadding()
269 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin()
389 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, NULL, rsa_key_) != 1) in Begin()
[all …]
Drsa_operation.h39 digest_algorithm_(nullptr) {} in RsaOperation()
64 const EVP_MD* digest_algorithm_; variable
Decdsa_operation.h44 const EVP_MD* digest_algorithm_; variable