Lines Matching refs:pkey_ctx
123 static int check_verify_message(EVP_PKEY_CTX *pkey_ctx, int expected) in check_verify_message() argument
136 if (!TEST_true(EVP_PKEY_CTX_get_params(pkey_ctx, params)) in check_verify_message()
307 EVP_PKEY_CTX *pkey_ctx; in ecdsa_sigver_test() local
329 || !TEST_ptr(pkey_ctx = EVP_MD_CTX_get_pkey_ctx(md_ctx)) in ecdsa_sigver_test()
330 || !check_verify_message(pkey_ctx, 1) in ecdsa_sigver_test()
333 || !check_verify_message(pkey_ctx, 1) in ecdsa_sigver_test()
334 || !TEST_true(EVP_PKEY_verify_init(pkey_ctx)) in ecdsa_sigver_test()
335 || !check_verify_message(pkey_ctx, 0)) in ecdsa_sigver_test()
1450 EVP_PKEY_CTX *pkey_ctx = NULL; in rsa_sigver_test() local
1475 || !TEST_true(EVP_DigestVerifyInit_ex(md_ctx, &pkey_ctx, in rsa_sigver_test()
1478 || !check_verify_message(pkey_ctx, 1) in rsa_sigver_test()
1479 || !TEST_true(EVP_PKEY_CTX_set_params(pkey_ctx, params)) in rsa_sigver_test()
1482 || !check_verify_message(pkey_ctx, 1) in rsa_sigver_test()
1483 || !TEST_true(EVP_PKEY_verify_init(pkey_ctx)) in rsa_sigver_test()
1484 || !check_verify_message(pkey_ctx, 0)) in rsa_sigver_test()