1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-27 04:46:26 +01:00

Minor tweaks

This commit is contained in:
Graham Campbell 2015-09-06 23:01:03 +01:00
parent 06a1d3d981
commit b1db7f05d9

View File

@ -1854,14 +1854,14 @@ class Math_BigInteger
}
}
// eg. the length of substr($e_bits, $i, $j + 1)
for ($k = 0; $k <= $j; ++$k) {
// eg. the length of substr($e_bits, $i, $j+1)
$result = $this->_squareReduce($result, $n_value, $mode);
}
$result = $this->_multiplyReduce($result, $powers[bindec(substr($e_bits, $i, $j + 1))], $n_value, $mode);
$i+=$j + 1;
$i += $j + 1;
}
}