Home
last modified time | relevance | path

Searched refs:point (Results 1 – 7 of 7) sorted by relevance

/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DCommon.php229 $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 DXML.php188 $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 DPrivateKey.php82 $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 DDH.php346 $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 DPrime.php525 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 DEd448.php136 * @param array $point
139 public function encodePoint($point) argument
141 list($x, $y) = $point;
H A DEd25519.php191 * @param array $point
194 public function encodePoint($point) argument
196 list($x, $y) = $point;