Lines Matching defs:gN_cache
254 !(vb->gN_cache = sk_SRP_gN_cache_new_null()))
266 sk_SRP_gN_cache_free(vb->gN_cache);
277 sk_SRP_gN_cache_free(vb->gN_cache);
307 static void SRP_gN_free(SRP_gN_cache *gN_cache)
309 if (gN_cache == NULL)
311 OPENSSL_free(gN_cache->b64_bn);
312 BN_free(gN_cache->bn);
313 OPENSSL_free(gN_cache);
332 static BIGNUM *SRP_gN_place_bn(STACK_OF(SRP_gN_cache) *gN_cache, char *ch)
335 if (gN_cache == NULL)
339 for(i = 0; i < sk_SRP_gN_cache_num(gN_cache); i++)
341 SRP_gN_cache *cache = sk_SRP_gN_cache_value(gN_cache, i);
349 if (sk_SRP_gN_cache_insert(gN_cache,newgN,0)>0)
405 || !(gN->N = SRP_gN_place_bn(vb->gN_cache,pp[DB_srpverifier]))
406 || !(gN->g = SRP_gN_place_bn(vb->gN_cache,pp[DB_srpsalt]))