gN
gN(ctx->h, M, ctx->N);
gN(ctx->h, ctx->N, Z);
gN(ctx->h, ctx->Sigma, Z);
char *passin = NULL, *passout = NULL, *gN = NULL, *userinfo = NULL;
gN = opt_arg();
if ((gNindex < 0) && (gN != NULL) && strcmp(gN, pp[DB_srpid]) == 0)
} else if (maxgN > 0 && !SRP_get_default_gN(gN)) {
BIO_printf(bio_err, "No g and N value for index \"%s\"\n", gN);
gNrow ? gNrow[DB_srpsalt] : gN,
SRP_gN *gN;
gN = sk_SRP_gN_value(gN_tab, i);
if (gN && (id == NULL || strcmp(gN->id, id) == 0))
return gN;
SRP_gN *gN = NULL;
if ((gN = OPENSSL_malloc(sizeof(*gN))) == NULL)
if ((gN->id = OPENSSL_strdup(pp[DB_srpid])) == NULL
|| (gN->N = SRP_gN_place_bn(vb->gN_cache, pp[DB_srpverifier]))
|| (gN->g = SRP_gN_place_bn(vb->gN_cache, pp[DB_srpsalt]))
|| sk_SRP_gN_insert(SRP_gN_tab, gN, 0) == 0)
gN = NULL;
if (((gN = SRP_get_gN_by_id(last_index, SRP_gN_tab)) == NULL)) {
vb->default_g = gN->g;
vb->default_N = gN->N;
gN = NULL;
if (gN != NULL) {
OPENSSL_free(gN->id);
OPENSSL_free(gN);
SRP_gN *gN = SRP_get_default_gN(g);
if (gN == NULL)
N_bn = gN->N;
g_bn = gN->g;
defgNid = gN->id;