Home
last modified time | relevance | path

Searched refs:powerbufLen (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_exp.c41 * the possible overflow in the computation of powerbufLen in
619 int powerbufLen = 0; in BN_mod_exp_mont_consttime() local
638 /* Prevent overflowing the powerbufLen computation below */ in BN_mod_exp_mont_consttime()
725 powerbufLen += top * sizeof(mont->N.d[0]); in BN_mod_exp_mont_consttime()
735 powerbufLen += sizeof(m->d[0]) * (top * numPowers + in BN_mod_exp_mont_consttime()
739 if (powerbufLen < 3072) in BN_mod_exp_mont_consttime()
741 alloca(powerbufLen + MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH); in BN_mod_exp_mont_consttime()
745 OPENSSL_malloc(powerbufLen + MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH)) in BN_mod_exp_mont_consttime()
750 memset(powerbuf, 0, powerbufLen); in BN_mod_exp_mont_consttime()
753 if (powerbufLen < 307 in BN_mod_exp_mont_consttime()
[all...]
/third_party/openssl/crypto/bn/
H A Dbn_exp.c41 * the possible overflow in the computation of powerbufLen in
611 int powerbufLen = 0; in BN_mod_exp_mont_consttime() local
630 /* Prevent overflowing the powerbufLen computation below */ in BN_mod_exp_mont_consttime()
717 powerbufLen += top * sizeof(mont->N.d[0]); in BN_mod_exp_mont_consttime()
727 powerbufLen += sizeof(m->d[0]) * (top * numPowers + in BN_mod_exp_mont_consttime()
731 if (powerbufLen < 3072) in BN_mod_exp_mont_consttime()
733 alloca(powerbufLen + MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH); in BN_mod_exp_mont_consttime()
737 OPENSSL_malloc(powerbufLen + MOD_EXP_CTIME_MIN_CACHE_LINE_WIDTH)) in BN_mod_exp_mont_consttime()
742 memset(powerbuf, 0, powerbufLen); in BN_mod_exp_mont_consttime()
745 if (powerbufLen < 307 in BN_mod_exp_mont_consttime()
[all...]

Completed in 3 milliseconds