Lines Matching refs:dsa
26 int ossl_dsa_generate_ffc_parameters(DSA *dsa, int type, int pbits, int qbits, in ossl_dsa_generate_ffc_parameters() argument
33 ret = ossl_ffc_params_FIPS186_2_generate(dsa->libctx, &dsa->params, in ossl_dsa_generate_ffc_parameters()
38 ret = ossl_ffc_params_FIPS186_4_generate(dsa->libctx, &dsa->params, in ossl_dsa_generate_ffc_parameters()
42 dsa->dirty_cnt++; in ossl_dsa_generate_ffc_parameters()
47 int DSA_generate_parameters_ex(DSA *dsa, int bits, in DSA_generate_parameters_ex() argument
52 if (dsa->meth->dsa_paramgen) in DSA_generate_parameters_ex()
53 return dsa->meth->dsa_paramgen(dsa, bits, seed_in, seed_len, in DSA_generate_parameters_ex()
56 && !ossl_ffc_params_set_validate_params(&dsa->params, seed_in, seed_len, in DSA_generate_parameters_ex()
62 if (!ossl_dsa_generate_ffc_parameters(dsa, DSA_PARAMGEN_TYPE_FIPS_186_2, in DSA_generate_parameters_ex()
66 if (!ossl_dsa_generate_ffc_parameters(dsa, DSA_PARAMGEN_TYPE_FIPS_186_4, in DSA_generate_parameters_ex()
72 *counter_ret = dsa->params.pcounter; in DSA_generate_parameters_ex()
74 *h_ret = dsa->params.h; in DSA_generate_parameters_ex()