Searched refs:point (Results 1 – 7 of 7) sorted by relevance
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| H A D | Common.php | 229 $point = self::extractPoint("\0" . $data['base'], $curve); 230 $curve->setBasePoint(...$point); 256 $point = self::extractPoint("\0" . $data['base'], $curve); 257 $curve->setBasePoint(...$point); 293 $point = $curve->recoverX($y, $sign); 294 if (!$curve->verifyPoint($point)) { 297 return $point; 323 $point = [ 328 if (!$curve->verifyPoint($point)) { 332 return $point; [all …]
|
| H A D | XML.php | 188 $point = [ 192 if (!$curve->verifyPoint($point)) { 195 return $point; 266 $point = self::extractPoint("\0" . $base, $curve); 267 $curve->setBasePoint(...$point);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ |
| H A D | PrivateKey.php | 82 $point = [$this->curve->convertInteger(new BigInteger(strrev($coordinates), 256))]; 83 $point = $this->curve->multiplyPoint($point, $this->dA); 84 return strrev($point[0]->toBytes(true)); 91 $point = PKCS1::extractPoint($coordinates, $this->curve); 92 $point = $this->curve->multiplyPoint($point, $this->dA); 94 return $this->curve->encodePoint($point); 96 if (empty($point)) { 99 return "\4" . $point[0]->toBytes(true) . $point[1]->toBytes(true);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | DH.php | 346 $point = $private->multiply($public); 348 … $secret = $isMontgomeryCurve ? $point : substr($point, 1, (strlen($point) - 1) >> 1);
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/BaseCurves/ |
| H A D | Prime.php | 525 foreach ($points as &$point) { 526 $point = $this->convertToInternal($point); 648 private function getNAFPoints(array $point, $wnd) argument 650 if (isset($point['naf'])) { 651 return $point['naf']; 654 $res = [$point]; 656 $dbl = $max == 1 ? null : $this->doublePoint($point); 661 $point['naf'] = $res;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/ |
| H A D | Ed448.php | 136 * @param array $point 139 public function encodePoint($point) argument 141 list($x, $y) = $point;
|
| H A D | Ed25519.php | 191 * @param array $point 194 public function encodePoint($point) argument 196 list($x, $y) = $point;
|