Lines Matching refs:gN
349 SRP_gN *gN; in SRP_get_gN_by_id() local
352 gN = sk_SRP_gN_value(gN_tab, i); in SRP_get_gN_by_id()
353 if (gN && (id == NULL || strcmp(gN->id, id) == 0)) in SRP_get_gN_by_id()
354 return gN; in SRP_get_gN_by_id()
402 SRP_gN *gN = NULL; in SRP_VBASE_init() local
430 if ((gN = OPENSSL_malloc(sizeof(*gN))) == NULL) in SRP_VBASE_init()
433 if ((gN->id = OPENSSL_strdup(pp[DB_srpid])) == NULL in SRP_VBASE_init()
434 || (gN->N = SRP_gN_place_bn(vb->gN_cache, pp[DB_srpverifier])) in SRP_VBASE_init()
436 || (gN->g = SRP_gN_place_bn(vb->gN_cache, pp[DB_srpsalt])) in SRP_VBASE_init()
438 || sk_SRP_gN_insert(SRP_gN_tab, gN, 0) == 0) in SRP_VBASE_init()
441 gN = NULL; in SRP_VBASE_init()
475 if (((gN = SRP_get_gN_by_id(last_index, SRP_gN_tab)) == NULL)) { in SRP_VBASE_init()
479 vb->default_g = gN->g; in SRP_VBASE_init()
480 vb->default_N = gN->N; in SRP_VBASE_init()
481 gN = NULL; in SRP_VBASE_init()
491 if (gN != NULL) { in SRP_VBASE_init()
492 OPENSSL_free(gN->id); in SRP_VBASE_init()
493 OPENSSL_free(gN); in SRP_VBASE_init()
639 SRP_gN *gN = SRP_get_default_gN(g); in SRP_create_verifier_ex() local
640 if (gN == NULL) in SRP_create_verifier_ex()
642 N_bn = gN->N; in SRP_create_verifier_ex()
643 g_bn = gN->g; in SRP_create_verifier_ex()
644 defgNid = gN->id; in SRP_create_verifier_ex()