Home
last modified time | relevance | path

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

/third_party/openssl/crypto/srp/
Dsrp_vfy.c315 SRP_gN_cache *newgN = OPENSSL_malloc(sizeof(*newgN)); in SRP_gN_new_init() local
317 if (newgN == NULL) in SRP_gN_new_init()
324 if ((newgN->b64_bn = OPENSSL_strdup(ch)) == NULL) in SRP_gN_new_init()
327 if ((newgN->bn = BN_bin2bn(tmp, len, NULL))) in SRP_gN_new_init()
328 return newgN; in SRP_gN_new_init()
330 OPENSSL_free(newgN->b64_bn); in SRP_gN_new_init()
332 OPENSSL_free(newgN); in SRP_gN_new_init()
374 SRP_gN_cache *newgN = SRP_gN_new_init(ch); in SRP_gN_place_bn() local
375 if (newgN) { in SRP_gN_place_bn()
376 if (sk_SRP_gN_cache_insert(gN_cache, newgN, 0) > 0) in SRP_gN_place_bn()
[all …]
/third_party/node/deps/openssl/openssl/crypto/srp/
Dsrp_vfy.c315 SRP_gN_cache *newgN = OPENSSL_malloc(sizeof(*newgN)); in SRP_gN_new_init() local
317 if (newgN == NULL) in SRP_gN_new_init()
324 if ((newgN->b64_bn = OPENSSL_strdup(ch)) == NULL) in SRP_gN_new_init()
327 if ((newgN->bn = BN_bin2bn(tmp, len, NULL))) in SRP_gN_new_init()
328 return newgN; in SRP_gN_new_init()
330 OPENSSL_free(newgN->b64_bn); in SRP_gN_new_init()
332 OPENSSL_free(newgN); in SRP_gN_new_init()
374 SRP_gN_cache *newgN = SRP_gN_new_init(ch); in SRP_gN_place_bn() local
375 if (newgN) { in SRP_gN_place_bn()
376 if (sk_SRP_gN_cache_insert(gN_cache, newgN, 0) > 0) in SRP_gN_place_bn()
[all …]