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.php228 $point = self::extractPoint("\0" . $data['base'], $curve);
229 $curve->setBasePoint(...$point);
255 $point = self::extractPoint("\0" . $data['base'], $curve);
256 $curve->setBasePoint(...$point);
289 $point = $curve->recoverX($y, $sign);
290 if (!$curve->verifyPoint($point)) {
293 return $point;
319 $point = [
324 if (!$curve->verifyPoint($point)) {
328 return $point;
[all …]
H A DXML.php187 $point = [
191 if (!$curve->verifyPoint($point)) {
194 return $point;
265 $point = self::extractPoint("\0" . $base, $curve);
266 $curve->setBasePoint(...$point);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php67 $point = [$this->curve->convertInteger(new BigInteger(strrev($coordinates), 256))];
68 $point = $this->curve->multiplyPoint($point, $this->dA);
69 return strrev($point[0]->toBytes(true));
74 $point = PKCS1::extractPoint($coordinates, $this->curve);
75 $point = $this->curve->multiplyPoint($point, $this->dA);
77 return $this->curve->encodePoint($point);
79 if (empty($point)) {
82 return "\4" . $point[0]->toBytes(true) . $point[1]->toBytes(true);
/dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DDH.php303 $point = $private->multiply($public);
307 $secret = $point;
311 $secret = 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;