Home
last modified time | relevance | path

Searched refs:newgN (Results 1 – 1 of 1) sorted by relevance

/third_party/openssl/crypto/srp/
Dsrp_vfy.c308 SRP_gN_cache *newgN = OPENSSL_malloc(sizeof(*newgN)); in SRP_gN_new_init() local
310 if (newgN == NULL) in SRP_gN_new_init()
317 if ((newgN->b64_bn = OPENSSL_strdup(ch)) == NULL) in SRP_gN_new_init()
320 if ((newgN->bn = BN_bin2bn(tmp, len, NULL))) in SRP_gN_new_init()
321 return newgN; in SRP_gN_new_init()
323 OPENSSL_free(newgN->b64_bn); in SRP_gN_new_init()
325 OPENSSL_free(newgN); in SRP_gN_new_init()
366 SRP_gN_cache *newgN = SRP_gN_new_init(ch); in SRP_gN_place_bn() local
367 if (newgN) { in SRP_gN_place_bn()
368 if (sk_SRP_gN_cache_insert(gN_cache, newgN, 0) > 0) in SRP_gN_place_bn()
[all …]