Lines Matching refs:powerbuf

874   unsigned char *powerbuf = NULL;  in BN_mod_exp_mont_consttime()  local
963 powerbuf = MOD_EXP_CTIME_ALIGN(powerbufFree); in BN_mod_exp_mont_consttime()
964 memset(powerbuf, 0, powerbufLen); in BN_mod_exp_mont_consttime()
973 tmp.d = (BN_ULONG *)(powerbuf + sizeof(m->d[0]) * top * numPowers); in BN_mod_exp_mont_consttime()
1032 bn_scatter5(tmp.d, top, powerbuf, 0); in BN_mod_exp_mont_consttime()
1033 bn_scatter5(am.d, am.top, powerbuf, 1); in BN_mod_exp_mont_consttime()
1035 bn_scatter5(tmp.d, top, powerbuf, 2); in BN_mod_exp_mont_consttime()
1040 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1044 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np2, n0, top, i - 1); in BN_mod_exp_mont_consttime()
1045 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1048 bn_scatter5(tmp.d, top, powerbuf, j); in BN_mod_exp_mont_consttime()
1052 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np2, n0, top, i - 1); in BN_mod_exp_mont_consttime()
1053 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1055 bn_scatter5(tmp.d, top, powerbuf, 2 * i); in BN_mod_exp_mont_consttime()
1058 bn_mul_mont_gather5(tmp.d, am.d, powerbuf, np2, n0, top, i - 1); in BN_mod_exp_mont_consttime()
1059 bn_scatter5(tmp.d, top, powerbuf, i); in BN_mod_exp_mont_consttime()
1066 bn_gather5(tmp.d, top, powerbuf, wvalue); in BN_mod_exp_mont_consttime()
1086 bn_mul_mont_gather5(tmp.d, tmp.d, powerbuf, np, n0, top, wvalue); in BN_mod_exp_mont_consttime()
1106 bn_power5(tmp.d, tmp.d, powerbuf, np2, n0, top, wvalue); in BN_mod_exp_mont_consttime()
1115 bn_power5(tmp.d, tmp.d, powerbuf, np2, n0, top, wvalue); in BN_mod_exp_mont_consttime()
1131 if (!copy_to_prebuf(&tmp, top, powerbuf, 0, numPowers) || in BN_mod_exp_mont_consttime()
1132 !copy_to_prebuf(&am, top, powerbuf, 1, numPowers)) { in BN_mod_exp_mont_consttime()
1143 !copy_to_prebuf(&tmp, top, powerbuf, 2, numPowers)) { in BN_mod_exp_mont_consttime()
1149 !copy_to_prebuf(&tmp, top, powerbuf, i, numPowers)) { in BN_mod_exp_mont_consttime()
1159 if (!copy_from_prebuf(&tmp, top, powerbuf, wvalue, numPowers)) { in BN_mod_exp_mont_consttime()
1178 if (!copy_from_prebuf(&am, top, powerbuf, wvalue, numPowers)) { in BN_mod_exp_mont_consttime()
1197 if (powerbuf != NULL) { in BN_mod_exp_mont_consttime()
1198 OPENSSL_cleanse(powerbuf, powerbufLen); in BN_mod_exp_mont_consttime()