Searched refs:digest_ctx_ (Results 1 – 4 of 4) sorted by relevance
/system/keymaster/km_openssl/ |
D | ecdsa_operation.cpp | 61 EVP_MD_CTX_cleanup(&digest_ctx_); in ~EcdsaOperation() 119 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 132 if (EVP_DigestSignUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 162 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in Finish() 166 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in Finish() 188 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 201 if (EVP_DigestVerifyUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 227 } else if (!EVP_DigestVerifyFinal(&digest_ctx_, signature.peek_read(), in Finish()
|
D | rsa_operation.cpp | 235 EVP_MD_CTX_init(&digest_ctx_); in RsaDigestingOperation() 238 EVP_MD_CTX_cleanup(&digest_ctx_); in ~RsaDigestingOperation() 276 if (EVP_DigestSignInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr /* engine */, in Begin() 290 if (EVP_DigestSignUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 376 if (EVP_DigestSignFinal(&digest_ctx_, nullptr /* signature */, &siglen) != 1) in SignDigested() 382 if (EVP_DigestSignFinal(&digest_ctx_, output->peek_write(), &siglen) <= 0) in SignDigested() 400 if (EVP_DigestVerifyInit(&digest_ctx_, &pkey_ctx, digest_algorithm_, nullptr, rsa_key_) != 1) in Begin() 413 if (EVP_DigestVerifyUpdate(&digest_ctx_, input.peek_read(), input.available_read()) != 1) in Update() 486 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
|