Merge branch '3.0'

This commit is contained in:
terrafrost 2024-12-04 14:50:48 -06:00
commit ff82c80f3a

View File

@ -221,7 +221,7 @@ class Montgomery extends Base
public function multiplyPoint(array $p, BigInteger $d): array public function multiplyPoint(array $p, BigInteger $d): array
{ {
$p1 = [$this->one, $this->zero]; $p1 = [$this->one, $this->zero];
$alreadyInternal = isset($x[1]); $alreadyInternal = isset($p[1]);
$p2 = $this->convertToInternal($p); $p2 = $this->convertToInternal($p);
$x = $p[0]; $x = $p[0];