Searched refs:digest_algorithm_ (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/ |
D | ecdsa_operation.cpp | 75 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()
|
D | rsa_operation.cpp | 202 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 …]
|
D | rsa_operation.h | 39 digest_algorithm_(nullptr) {} in RsaOperation() 64 const EVP_MD* digest_algorithm_; variable
|
D | ecdsa_operation.h | 44 const EVP_MD* digest_algorithm_; variable
|