Lines Matching refs:keypair
1306 EVP_PKEY *keypair = NULL; in test_evp_get_ec_pub() local
1327 || !TEST_ptr(keypair = make_key_fromdata("EC", params))) in test_evp_get_ec_pub()
1330 if (!test_selection(keypair, EVP_PKEY_KEYPAIR)) in test_evp_get_ec_pub()
1333 if (!EVP_PKEY_get_bn_param(keypair, OSSL_PKEY_PARAM_EC_PUB_X, &x) in test_evp_get_ec_pub()
1334 || !EVP_PKEY_get_bn_param(keypair, OSSL_PKEY_PARAM_EC_PUB_Y, &y)) in test_evp_get_ec_pub()
1351 EVP_PKEY_free(keypair); in test_evp_get_ec_pub()
1649 EVP_PKEY *keypair = NULL; in test_EVP_Enveloped() local
1666 if (!TEST_ptr(keypair = load_example_rsa_key()) in test_EVP_Enveloped()
1667 || !TEST_ptr(kek = OPENSSL_zalloc(EVP_PKEY_get_size(keypair))) in test_EVP_Enveloped()
1670 &keypair, 1)) in test_EVP_Enveloped()
1679 if (!TEST_true(EVP_OpenInit(ctx, type, kek, kek_len, iv, keypair)) in test_EVP_Enveloped()
1694 EVP_PKEY_free(keypair); in test_EVP_Enveloped()