Lines Matching refs:param_key
524 EVP_PKEY *param_key = NULL; in dsa_paramgen() local
530 || !TEST_true(EVP_PKEY_paramgen(paramgen_ctx, ¶m_key))) in dsa_paramgen()
533 return param_key; in dsa_paramgen()
538 EVP_PKEY *param_key = NULL, *key = NULL; in dsa_keygen() local
541 if (!TEST_ptr(param_key = dsa_paramgen(L, N)) in dsa_keygen()
542 || !TEST_ptr(keygen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_keygen()
548 EVP_PKEY_free(param_key); in dsa_keygen()
557 EVP_PKEY *param_key = NULL, *key = NULL; in dsa_keygen_test() local
564 if (!TEST_ptr(param_key = dsa_paramgen(tst->L, tst->N)) in dsa_keygen_test()
565 || !TEST_ptr(keygen_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_keygen_test()
588 EVP_PKEY_free(param_key); in dsa_keygen_test()
599 EVP_PKEY *param_key = NULL; in dsa_paramgen_test() local
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()
616 || !TEST_true(pkey_get_bn_bytes(param_key, OSSL_PKEY_PARAM_FFC_P, in dsa_paramgen_test()
618 || !TEST_true(pkey_get_bn_bytes(param_key, OSSL_PKEY_PARAM_FFC_Q, in dsa_paramgen_test()
620 || !TEST_true(pkey_get_octet_bytes(param_key, in dsa_paramgen_test()
623 || !TEST_true(EVP_PKEY_get_int_param(param_key, in dsa_paramgen_test()
637 EVP_PKEY_free(param_key); in dsa_paramgen_test()
719 EVP_PKEY *param_key = NULL; in dsa_pqver_test() local
723 || !TEST_true(dsa_create_pkey(¶m_key, tst->p, tst->p_len, in dsa_pqver_test()
729 || !TEST_ptr(key_ctx = EVP_PKEY_CTX_new_from_pkey(libctx, param_key, in dsa_pqver_test()
737 EVP_PKEY_free(param_key); in dsa_pqver_test()