Searched refs:digest_algorithm_ (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/km_openssl/ |
D | ecdsa_operation.cpp | 71 digest_algorithm_ = EVP_sha1(); in InitDigest() 74 digest_algorithm_ = EVP_sha224(); in InitDigest() 77 digest_algorithm_ = EVP_sha256(); in InitDigest() 80 digest_algorithm_ = EVP_sha384(); in InitDigest() 83 digest_algorithm_ = EVP_sha512(); in InitDigest() 119 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 188 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin()
|
D | rsa_operation.cpp | 189 assert(digest_algorithm_); in SetRsaPaddingInEvpContext() 190 if (EVP_PKEY_CTX_set_rsa_pss_saltlen(pkey_ctx, EVP_MD_size(digest_algorithm_)) <= 0) in SetRsaPaddingInEvpContext() 208 digest_algorithm_ = EVP_md5(); in InitDigest() 211 digest_algorithm_ = EVP_sha1(); in InitDigest() 214 digest_algorithm_ = EVP_sha224(); in InitDigest() 217 digest_algorithm_ = EVP_sha256(); in InitDigest() 220 digest_algorithm_ = EVP_sha384(); in InitDigest() 223 digest_algorithm_ = EVP_sha512(); in InitDigest() 253 if (EVP_MD_size(digest_algorithm_) * 2 + kPssOverhead > (size_t)EVP_PKEY_size(rsa_key_)) { in GetOpensslPadding() 256 EVP_MD_size(digest_algorithm_), EVP_PKEY_size(rsa_key_)); in GetOpensslPadding() [all …]
|
/system/keymaster/include/keymaster/km_openssl/ |
D | ecdsa_operation.h | 35 digest_algorithm_(nullptr), ecdsa_key_(key) { in EcdsaOperation() 47 const EVP_MD* digest_algorithm_; variable
|
D | rsa_operation.h | 40 padding_(padding), digest_(digest), digest_algorithm_(nullptr) {} in RsaOperation() 65 const EVP_MD* digest_algorithm_; variable
|