Searched refs:paramgen_ctx (Results 1 – 2 of 2) sorted by relevance
/openssl/test/ |
H A D | dhtest.c | 759 EVP_PKEY_CTX *paramgen_ctx; in dh_rfc5114_fix_nid_test() local 762 paramgen_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DHX, 0); in dh_rfc5114_fix_nid_test() 763 if (!TEST_ptr(paramgen_ctx)) in dh_rfc5114_fix_nid_test() 765 if (!TEST_int_eq(EVP_PKEY_paramgen_init(paramgen_ctx), 1)) in dh_rfc5114_fix_nid_test() 768 if (!TEST_int_eq(EVP_PKEY_CTX_set_dhx_rfc5114(paramgen_ctx, 3), 1)) in dh_rfc5114_fix_nid_test() 776 EVP_PKEY_CTX_free(paramgen_ctx); in dh_rfc5114_fix_nid_test() 783 EVP_PKEY_CTX *paramgen_ctx; in dh_set_dh_nid_test() local 786 paramgen_ctx = EVP_PKEY_CTX_new_id(EVP_PKEY_DH, 0); in dh_set_dh_nid_test() 787 if (!TEST_ptr(paramgen_ctx)) in dh_set_dh_nid_test() 789 if (!TEST_int_eq(EVP_PKEY_paramgen_init(paramgen_ctx), 1)) in dh_set_dh_nid_test() [all …]
|
H A D | acvp_test.c | 523 EVP_PKEY_CTX *paramgen_ctx = NULL; in dsa_paramgen() local 527 || !TEST_int_gt(EVP_PKEY_paramgen_init(paramgen_ctx), 0) in dsa_paramgen() 530 || !TEST_true(EVP_PKEY_paramgen(paramgen_ctx, ¶m_key))) in dsa_paramgen() 532 EVP_PKEY_CTX_free(paramgen_ctx); in dsa_paramgen() 556 EVP_PKEY_CTX *paramgen_ctx = NULL, *keygen_ctx = NULL; in dsa_keygen_test() local 591 EVP_PKEY_CTX_free(paramgen_ctx); in dsa_keygen_test() 598 EVP_PKEY_CTX *paramgen_ctx = NULL; in dsa_paramgen_test() local 605 || !TEST_int_gt(EVP_PKEY_paramgen_init(paramgen_ctx), 0) in dsa_paramgen_test() 612 if (!TEST_false(EVP_PKEY_paramgen(paramgen_ctx, ¶m_key))) in dsa_paramgen_test() 615 if (!TEST_true(EVP_PKEY_paramgen(paramgen_ctx, ¶m_key)) in dsa_paramgen_test() [all …]
|
Completed in 9 milliseconds