Lines Matching refs:gN
350 SRP_gN *gN; in SRP_get_gN_by_id() local
353 gN = sk_SRP_gN_value(gN_tab, i); in SRP_get_gN_by_id()
354 if (gN && (id == NULL || strcmp(gN->id, id) == 0)) in SRP_get_gN_by_id()
355 return gN; in SRP_get_gN_by_id()
403 SRP_gN *gN = NULL; in SRP_VBASE_init() local
439 if ((gN = OPENSSL_malloc(sizeof(*gN))) == NULL) in SRP_VBASE_init()
442 if ((gN->id = OPENSSL_strdup(pp[DB_srpid])) == NULL in SRP_VBASE_init()
443 || (gN->N = SRP_gN_place_bn(vb->gN_cache, pp[DB_srpverifier])) in SRP_VBASE_init()
445 || (gN->g = SRP_gN_place_bn(vb->gN_cache, pp[DB_srpsalt])) in SRP_VBASE_init()
447 || sk_SRP_gN_insert(SRP_gN_tab, gN, 0) == 0) in SRP_VBASE_init()
450 gN = NULL; in SRP_VBASE_init()
484 if (((gN = SRP_get_gN_by_id(last_index, SRP_gN_tab)) == NULL)) { in SRP_VBASE_init()
488 vb->default_g = gN->g; in SRP_VBASE_init()
489 vb->default_N = gN->N; in SRP_VBASE_init()
490 gN = NULL; in SRP_VBASE_init()
500 if (gN != NULL) { in SRP_VBASE_init()
501 OPENSSL_free(gN->id); in SRP_VBASE_init()
502 OPENSSL_free(gN); in SRP_VBASE_init()
648 SRP_gN *gN = SRP_get_default_gN(g); in SRP_create_verifier_ex() local
649 if (gN == NULL) in SRP_create_verifier_ex()
651 N_bn = gN->N; in SRP_create_verifier_ex()
652 g_bn = gN->g; in SRP_create_verifier_ex()
653 defgNid = gN->id; in SRP_create_verifier_ex()