Searched refs:pg_ctx (Results 1 – 1 of 1) sorted by relevance
/openssl/test/ |
H A D | dsatest.c | 153 EVP_PKEY_CTX *pg_ctx = NULL, *kg_ctx = NULL; in dsa_keygen_test() local 248 if (!TEST_ptr(pg_ctx = EVP_PKEY_CTX_new_from_name(NULL, "DSA", NULL)) in dsa_keygen_test() 249 || !TEST_int_gt(EVP_PKEY_paramgen_init(pg_ctx), 0) in dsa_keygen_test() 250 || !TEST_ptr(EVP_PKEY_CTX_gettable_params(pg_ctx)) in dsa_keygen_test() 251 || !TEST_ptr(settables = EVP_PKEY_CTX_settable_params(pg_ctx)) in dsa_keygen_test() 254 || !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_type(pg_ctx, "fips186_4")) in dsa_keygen_test() 255 || !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_bits(pg_ctx, 2048)) in dsa_keygen_test() 256 || !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_q_bits(pg_ctx, 224)) in dsa_keygen_test() 257 || !TEST_true(EVP_PKEY_CTX_set_dsa_paramgen_seed(pg_ctx, seed_data, in dsa_keygen_test() 261 || !TEST_int_gt(EVP_PKEY_generate(pg_ctx, ¶m_key), 0) in dsa_keygen_test() [all …]
|
Completed in 5 milliseconds