Lines Matching refs:powerbuf
910 BN_ULONG *powerbuf = NULL; in BN_mod_exp_mont_consttime() local
997 powerbuf = storage; in BN_mod_exp_mont_consttime()
1000 assert(powerbuf != NULL || top * BN_BITS2 > 1024); in BN_mod_exp_mont_consttime()
1002 if (powerbuf == NULL) { in BN_mod_exp_mont_consttime()
1008 powerbuf = (BN_ULONG *)MOD_EXP_CTIME_ALIGN(powerbufFree); in BN_mod_exp_mont_consttime()
1010 OPENSSL_memset(powerbuf, 0, powerbufLen); in BN_mod_exp_mont_consttime()
1013 tmp.d = powerbuf + top * numPowers; in BN_mod_exp_mont_consttime()
1056 bn_scatter5(tmp.d, top, powerbuf, 0); in BN_mod_exp_mont_consttime()
1057 bn_scatter5(am.d, am.width, powerbuf, 1); in BN_mod_exp_mont_consttime()
1059 bn_scatter5(tmp.d, top, powerbuf, 2); in BN_mod_exp_mont_consttime()
1064 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1068 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1); in BN_mod_exp_mont_consttime()
1069 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1072 bn_scatter5(tmp.d, top, powerbuf, j); in BN_mod_exp_mont_consttime()
1076 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1); in BN_mod_exp_mont_consttime()
1077 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1079 bn_scatter5(tmp.d, top, powerbuf, 2 * i); in BN_mod_exp_mont_consttime()
1082 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np, n0, top, i - 1); in BN_mod_exp_mont_consttime()
1083 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1090 bn_gather5(tmp.d, top, powerbuf, wvalue); in BN_mod_exp_mont_consttime()
1109 bn_mul_mont_gather5(tmp.d, tmp.d, powerbuf, np, n0, top, wvalue); in BN_mod_exp_mont_consttime()
1128 bn_power5(tmp.d, tmp.d, powerbuf, np, n0, top, wvalue); in BN_mod_exp_mont_consttime()
1138 bn_power5(tmp.d, tmp.d, powerbuf, np, n0, top, val); in BN_mod_exp_mont_consttime()
1153 copy_to_prebuf(&tmp, top, powerbuf, 0, window); in BN_mod_exp_mont_consttime()
1154 copy_to_prebuf(&am, top, powerbuf, 1, window); in BN_mod_exp_mont_consttime()
1165 copy_to_prebuf(&tmp, top, powerbuf, 2, window); in BN_mod_exp_mont_consttime()
1173 copy_to_prebuf(&tmp, top, powerbuf, i, window); in BN_mod_exp_mont_consttime()
1181 if (!copy_from_prebuf(&tmp, top, powerbuf, wvalue, window)) { in BN_mod_exp_mont_consttime()
1199 if (!copy_from_prebuf(&am, top, powerbuf, wvalue, window)) { in BN_mod_exp_mont_consttime()
1218 if (powerbuf != NULL && powerbufFree == NULL) { in BN_mod_exp_mont_consttime()
1219 OPENSSL_cleanse(powerbuf, powerbufLen); in BN_mod_exp_mont_consttime()