Searched refs:digest_ctx_ (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/km_openssl/ |
D | ecdsa_operation.cpp | 60 EVP_MD_CTX_cleanup(&digest_ctx_); in ~EcdsaOperation() 116 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 128 if (EVP_DigestSignUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 155 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in Finish() 158 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in Finish() 177 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 189 if (EVP_DigestVerifyUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 213 } else if (!EVP_DigestVerifyFinal(&digest_ctx_, signature.peek_read(), in Finish()
|
D | rsa_operation.cpp | 244 EVP_MD_CTX_init(&digest_ctx_); in RsaDigestingOperation() 247 EVP_MD_CTX_cleanup(&digest_ctx_); in ~RsaDigestingOperation() 283 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 297 if (EVP_DigestSignUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 375 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in SignDigested() 380 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in SignDigested() 395 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr, rsa_key_) != 1) in Begin() 408 if (EVP_DigestVerifyUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 475 if (!EVP_DigestVerifyFinal(&digest_ctx_, signature.peek_read(), signature.available_read())) in VerifyDigested()
|
/system/keymaster/include/keymaster/km_openssl/ |
D | ecdsa_operation.h | 36 EVP_MD_CTX_init(&digest_ctx_); in EcdsaOperation() 49 EVP_MD_CTX digest_ctx_; variable
|
D | rsa_operation.h | 84 EVP_MD_CTX digest_ctx_; variable
|