Lines Matching refs:g
33 BN_clear_free(params->g); in ossl_ffc_params_cleanup()
39 BN_free(params->g); in ossl_ffc_params_cleanup()
46 void ossl_ffc_params_set0_pqg(FFC_PARAMS *d, BIGNUM *p, BIGNUM *q, BIGNUM *g) in ossl_ffc_params_set0_pqg() argument
56 if (g != NULL && g != d->g) { in ossl_ffc_params_set0_pqg()
57 BN_free(d->g); in ossl_ffc_params_set0_pqg()
58 d->g = g; in ossl_ffc_params_set0_pqg()
63 const BIGNUM **q, const BIGNUM **g) in ossl_ffc_params_get0_pqg() argument
69 if (g != NULL) in ossl_ffc_params_get0_pqg()
70 *g = d->g; in ossl_ffc_params_get0_pqg()
184 || !ffc_bn_cpy(&dst->g, src->g) in ossl_ffc_params_copy()
212 && BN_cmp(a->g, b->g) == 0 in ossl_ffc_params_cmp()
227 if (ffc->g != NULL in ossl_ffc_params_todata()
228 && !ossl_param_build_set_bn(bld, params, OSSL_PKEY_PARAM_FFC_G, ffc->g)) in ossl_ffc_params_todata()
289 if (!ASN1_bn_print(bp, "generator G:", ffc->g, NULL, indent)) in ossl_ffc_params_print()