|
|
@@ -160,7 +160,6 @@ trait Point
|
|
|
$left = '';
|
|
|
$right = '';
|
|
|
|
|
|
- $P['y'] = $P['x'];
|
|
|
|
|
|
try {
|
|
|
/* Left y^2 term */
|
|
|
@@ -278,7 +277,7 @@ trait Point
|
|
|
} while ($this->randCompare($random_number));
|
|
|
|
|
|
$R = ($ladder === true) ? $this->mLadder($P, $random_number) : $this->doubleAndAdd($P, $random_number);
|
|
|
-
|
|
|
+var_dump($R);
|
|
|
if ($this->pointTestW($R)) {
|
|
|
$Rx_hex = str_pad($this->encodeHex($R['x']), 64, "0", STR_PAD_LEFT);
|
|
|
$Ry_hex = str_pad($this->encodeHex($R['y']), 64, "0", STR_PAD_LEFT);
|