Lines Matching refs:ctx2
1315 EVP_PKEY_CTX *ctx = NULL, *ctx2 = NULL; in test_fromdata_ecx() local
1506 if (!TEST_ptr(ctx2 = EVP_PKEY_CTX_new_from_pkey(NULL, pk, NULL))) in test_fromdata_ecx()
1509 if (!TEST_int_gt(EVP_PKEY_check(ctx2), 0)) in test_fromdata_ecx()
1526 if (!TEST_int_gt(EVP_PKEY_public_check(ctx2), 0) in test_fromdata_ecx()
1527 || !TEST_int_le(EVP_PKEY_private_check(ctx2), 0) in test_fromdata_ecx()
1528 || !TEST_int_le(EVP_PKEY_check(ctx2), 0)) in test_fromdata_ecx()
1531 EVP_PKEY_CTX_free(ctx2); in test_fromdata_ecx()
1532 ctx2 = NULL; in test_fromdata_ecx()
1538 if (!TEST_ptr(ctx2 = EVP_PKEY_CTX_new_from_pkey(NULL, copy_pk, NULL)) in test_fromdata_ecx()
1540 || !TEST_int_le(EVP_PKEY_public_check(ctx2), 0)) in test_fromdata_ecx()
1542 EVP_PKEY_CTX_free(ctx2); in test_fromdata_ecx()
1543 ctx2 = NULL; in test_fromdata_ecx()
1569 EVP_PKEY_CTX_free(ctx2); in test_fromdata_ecx()