mirror of
https://github.com/danog/tgseclib.git
synced 2024-11-27 04:34:45 +01:00
Minor tweaks
This commit is contained in:
parent
06a1d3d981
commit
b1db7f05d9
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user