Home
last modified time | relevance | path

Searched refs:key_ctx (Results 1 – 3 of 3) sorted by relevance

/openssl/test/
H A Devp_pkey_provided_test.c400 EVP_PKEY_CTX_free(key_ctx); in test_fromdata_rsa()
444 EVP_PKEY_CTX_free(key_ctx); in test_fromdata_rsa()
502 EVP_PKEY_CTX_free(key_ctx); in do_fromdata_rsa_derive()
536 EVP_PKEY_CTX_free(key_ctx); in do_fromdata_rsa_derive()
890 EVP_PKEY_CTX_free(key_ctx); in test_evp_pkey_get_bn_param_large()
1072 key_ctx = NULL; in test_fromdata_dh_named_group()
1106 EVP_PKEY_CTX_free(key_ctx); in test_fromdata_dh_named_group()
1256 key_ctx = NULL; in test_fromdata_dh_fips186_4()
1283 EVP_PKEY_CTX_free(key_ctx); in test_fromdata_dh_fips186_4()
2070 key_ctx = NULL; in test_fromdata_dsa_fips186_4()
[all …]
H A Dacvp_test.c214 EVP_PKEY_CTX *key_ctx = NULL; in ecdsa_pub_verify_test() local
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
483 EVP_PKEY_CTX_free(key_ctx); in eddsa_pub_verify_test()
718 EVP_PKEY_CTX *key_ctx = NULL; in dsa_pqver_test() local
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
1235 || !TEST_int_eq(EVP_PKEY_check(key_ctx), tst->pass)) in dh_safe_prime_keyver_test()
[all …]
H A Devp_extra_test.c3282 EVP_PKEY_CTX *key_ctx = NULL; in test_RSA_OAEP_set_get_params() local
3288 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(0, key, 0))) in test_RSA_OAEP_set_get_params()
3302 if (!TEST_int_gt(EVP_PKEY_encrypt_init_ex(key_ctx, params),0)) in test_RSA_OAEP_set_get_params()
3316 if (!TEST_true(EVP_PKEY_CTX_get_params(key_ctx, params))) in test_RSA_OAEP_set_get_params()
3328 EVP_PKEY_CTX_free(key_ctx); in test_RSA_OAEP_set_get_params()
3338 EVP_PKEY_CTX *key_ctx = NULL; in test_RSA_OAEP_set_null_label() local
3341 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(testctx, key, NULL)) in test_RSA_OAEP_set_null_label()
3342 || !TEST_true(EVP_PKEY_encrypt_init(key_ctx))) in test_RSA_OAEP_set_null_label()
3345 if (!TEST_true(EVP_PKEY_CTX_set_rsa_padding(key_ctx, RSA_PKCS1_OAEP_PADDING))) in test_RSA_OAEP_set_null_label()
3351 if (!TEST_true(EVP_PKEY_CTX_set0_rsa_oaep_label(key_ctx, NULL, 0))) in test_RSA_OAEP_set_null_label()
[all …]

Completed in 34 milliseconds