Lines Matching refs:md_ctx_verify

1723     EVP_MD_CTX *md_ctx = NULL, *md_ctx_verify = NULL;  in test_EVP_DigestSignInit()  local
1749 || !TEST_ptr(a_md_ctx_verify = md_ctx_verify = EVP_MD_CTX_new())) in test_EVP_DigestSignInit()
1829 || !TEST_int_gt(BIO_get_md_ctx(mdbio, &md_ctx_verify), 0)) in test_EVP_DigestSignInit()
1833 if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, md, in test_EVP_DigestSignInit()
1841 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, in test_EVP_DigestSignInit()
1845 if (!TEST_int_gt(EVP_DigestVerifyFinal(md_ctx_verify, sig, sig_len), 0)) in test_EVP_DigestSignInit()
1849 if (!TEST_int_gt(EVP_DigestVerifyFinal(md_ctx_verify, sig, sig_len), 0)) in test_EVP_DigestSignInit()
2382 EVP_MD_CTX *md_ctx_verify = NULL; in test_EVP_SM2() local
2425 if (!TEST_ptr(md_ctx_verify = EVP_MD_CTX_new())) in test_EVP_SM2()
2432 EVP_MD_CTX_set_pkey_ctx(md_ctx_verify, sctx); in test_EVP_SM2()
2458 if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, check_md, NULL, in test_EVP_SM2()
2465 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2468 if (!TEST_int_gt(EVP_DigestVerifyFinal(md_ctx_verify, sig, sig_len), 0)) in test_EVP_SM2()
2476 if (!TEST_true(EVP_DigestVerifyInit(md_ctx_verify, NULL, check_md, NULL, in test_EVP_SM2()
2483 if (!TEST_true(EVP_DigestVerifyUpdate(md_ctx_verify, kMsg, sizeof(kMsg)))) in test_EVP_SM2()
2486 if (!TEST_int_eq(EVP_DigestVerifyFinal(md_ctx_verify, sig, sig_len), 0)) in test_EVP_SM2()
2566 EVP_MD_CTX_free(md_ctx_verify); in test_EVP_SM2()