Lines Matching refs:key_ctx
214 EVP_PKEY_CTX *key_ctx = NULL; in ecdsa_pub_verify_test() local
222 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in ecdsa_pub_verify_test()
223 || !TEST_int_eq(EVP_PKEY_public_check(key_ctx), tst->pass)) in ecdsa_pub_verify_test()
229 EVP_PKEY_CTX_free(key_ctx); in ecdsa_pub_verify_test()
470 EVP_PKEY_CTX *key_ctx = NULL; in eddsa_pub_verify_test() local
477 if (!TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in eddsa_pub_verify_test()
478 || !TEST_int_eq(EVP_PKEY_public_check(key_ctx), tst->pass)) in eddsa_pub_verify_test()
483 EVP_PKEY_CTX_free(key_ctx); in eddsa_pub_verify_test()
718 EVP_PKEY_CTX *key_ctx = NULL; in dsa_pqver_test() local
729 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_pqver_test()
731 || !TEST_int_eq(EVP_PKEY_param_check(key_ctx), tst->pass)) in dsa_pqver_test()
738 EVP_PKEY_CTX_free(key_ctx); in dsa_pqver_test()
1226 EVP_PKEY_CTX *key_ctx = NULL; in dh_safe_prime_keyver_test() local
1234 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, pkey, "")) in dh_safe_prime_keyver_test()
1235 || !TEST_int_eq(EVP_PKEY_check(key_ctx), tst->pass)) in dh_safe_prime_keyver_test()
1241 EVP_PKEY_CTX_free(key_ctx); in dh_safe_prime_keyver_test()