Home
last modified time | relevance | path

Searched refs:curve (Results 1 – 25 of 65) sorted by relevance

123

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DEC.php80 protected $curve; variable in phpseclib3\\Crypt\\EC
137 * @param string $curve
140 public static function createKey($curve) argument
148 $curve = strtolower($curve);
163 $curveName = $curve;
171 if (!class_exists($curve)) {
180 $curve = new $curve();
188 $privatekey->QA = $curve->multiplyPoint($curve->getBasePoint(), $dA);
190 $privatekey->curve = $curve;
228 $new->curve = $components['curve'];
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DCommon.php195 self::$implicitCurve = $curve;
212 if (!class_exists($curve)) {
215 return new $curve();
229 $curve->setCoefficients(
236 return $curve;
256 $curve->setCoefficients(
263 return $curve;
432 $order = $curve->getOrder();
439 $point = $curve->getBasePoint();
443 if ($curve instanceof PrimeCurve) {
[all …]
H A DOpenSSH.php76 $curve->rangeCheck($privateKey);
78 'curve' => $curve,
90 $curve = new Ed25519();
95 $curve = new $curveName();
101 'curve' => $curve,
112 private static function getAlias(BaseCurve $curve) argument
116 $reflect = new \ReflectionClass($curve);
152 if ($curve instanceof Ed25519) {
163 $alias = self::getAlias($curve);
190 if ($curve instanceof Ed25519) {
[all …]
H A DXML.php222 if (!class_exists($curve)) {
225 return new $curve();
265 $curve = new PrimeCurve();
267 $curve->setCoefficients(
274 return $curve;
324 $curve->setCoefficients(
331 $curve->setBasePoint(
338 return $curve;
384 if ($curve instanceof TwistedEdwardsCurve || $curve instanceof MontgomeryCurve) {
441 $a = $curve->getA();
[all …]
H A Dlibsodium.php73 $curve = new Ed25519();
74 $components = ['curve' => $curve];
76 $components['dA'] = $curve->extractSecret($private);
79 self::extractPoint($public, $curve) :
80 $curve->multiplyPoint($curve->getBasePoint(), $components['dA']);
93 public static function savePublicKey(Ed25519 $curve, array $publicKey) argument
95 return $curve->encodePoint($publicKey);
108 …public static function savePrivateKey(BigInteger $privateKey, Ed25519 $curve, array $publicKey, $p… argument
119 return $privateKey->secret . $curve->encodePoint($publicKey);
H A DMontgomeryPrivate.php59 $curve = new Curve25519();
62 $curve = new Curve448();
68 $components = ['curve' => $curve];
70 $curve->rangeCheck($components['dA']);
85 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument
100 …public static function savePrivateKey(BigInteger $privateKey, MontgomeryCurve $curve, array $publi… argument
H A DPKCS8.php181 public static function savePublicKey(BaseCurve $curve, array $publicKey, array $options = []) argument
185 if ($curve instanceof MontgomeryCurve) {
189 if ($curve instanceof TwistedEdwardsCurve) {
191 $curve->encodePoint($publicKey),
193 $curve instanceof Ed25519 ? 'id-Ed25519' : 'id-Ed448'
197 $params = new ASN1\Element(self::encodeParameters($curve, false, $options));
215 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
219 if ($curve instanceof MontgomeryCurve) {
223 if ($curve instanceof TwistedEdwardsCurve) {
229 $curve instanceof Ed25519 ? 'id-Ed25519' : 'id-Ed448'
[all …]
H A DPKCS1.php154 public static function saveParameters(BaseCurve $curve, array $options = []) argument
158 if ($curve instanceof TwistedEdwardsCurve || $curve instanceof MontgomeryCurve) {
162 $key = self::encodeParameters($curve, false, $options);
180 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
184 if ($curve instanceof TwistedEdwardsCurve || $curve instanceof MontgomeryCurve) {
193 'parameters' => new ASN1\Element(self::encodeParameters($curve)),
H A DMontgomeryPublic.php51 $curve = new Curve25519();
54 $curve = new Curve448();
60 $components = ['curve' => $curve];
74 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument
H A DPuTTY.php101 …public static function savePrivateKey(BigInteger $privateKey, BaseCurve $curve, array $publicKey, … argument
105 $public = explode(' ', OpenSSH::savePublicKey($curve, $publicKey));
113 if (!$curve instanceof TwistedEdwardsCurve) {
120 $private = $curve instanceof TwistedEdwardsCurve ?
135 public static function savePublicKey(BaseCurve $curve, array $publicKey) argument
137 $public = explode(' ', OpenSSH::savePublicKey($curve, $publicKey));
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPublicKey.php60 $order = $this->curve->getOrder();
71 $curve = $this->curve;
77 $S = substr($signature, $curve::SIZE);
93 $A = $curve->encodePoint($this->QA);
95 if ($curve instanceof Ed25519) {
103 $hash = new Hash($curve::HASH);
111 $lhs = $curve->multiplyPoint($curve->getBasePoint(), $S);
113 $rhs = $curve->addPoint($rhs, $R);
114 $rhs = $curve->convertToAffine($rhs);
150 $u1 = $this->curve->convertInteger($u1);
[all …]
H A DPrivateKey.php61 if ($this->curve instanceof MontgomeryCurve) {
76 return $this->curve->encodePoint($point);
94 if ($this->curve instanceof MontgomeryCurve) {
99 $order = $this->curve->getOrder();
116 $A = $this->curve->encodePoint($this->QA);
117 $curve = $this->curve;
118 $hash = new Hash($curve::HASH);
122 if ($curve instanceof Ed25519) {
134 $R = $curve->multiplyPoint($curve->getBasePoint(), $r);
135 $R = $curve->encodePoint($R);
[all …]
H A DParameters.php38 return $type::saveParameters($this->curve, $options);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/
H A DSSH2.php77 * @param string $curve
80 public static function save(BigInteger $r, BigInteger $s, $curve) argument
82 switch ($curve) {
84 $curve = 'nistp256';
87 $curve = 'nistp384';
90 $curve = 'nistp521';
98 return Strings::packSSH2('ss', 'ecdsa-sha2-' . $curve, $blob);
/plugin/xlsx2dw/packages/exceljs/
H A Dexceljs.js45885 this.curve = curve;
46455 return new Point(curve, obj[0], obj[1] || curve.one);
46858 var curve = this.curve;
46861 return curve.point(p.x.redMul(curve.endo.beta), p.y);
47017 var res = this.curve.jpoint(this.x, this.y, this.curve.one);
47119 if (this.curve.zeroA || this.curve.threeA) {
47419 …') this.curve = new curve.short(options);else if (options.type === 'edwards') this.curve = new cur…
47589 this.curve = options.curve.curve;
48080 var curve = curves[curve].curve;
48081 this.curve = curve;
[all …]
/plugin/diagramsnet/lib/js/rough/
H A Drough.js.modified1675 key: "curve",
1676 value: function curve(t, e) {
1685 if (s < 3) throw new Error("A curve must have at least three points.");
1712 return s.stroke !== K && n.push(o), this._d("curve", n, s);
2015 var _e26 = "curve" === t.shape || "polygon" === t.shape ? "evenodd" : "nonzero";
2121 key: "curve",
2122 value: function curve(t, e) {
2123 var s = this.gen.curve(t, e);
2254 key: "curve",
2255 value: function curve(t, e) {
[all …]
H A Drough.js.orig1curve(t,e){const s=this._o(e),n=[],o=L(t,s);if(s.fill&&s.fill!==K&&t.length>=3){const e=J(function…
H A Drough.min.js77 void 0);return this.draw(e),e}},{key:"curve",value:function(a,b){var c=this.gen.curve(a,b);return t…
82 … 0);return this.draw(e)}},{key:"curve",value:function(a,b){var c=this.gen.curve(a,b);return this.d…
/plugin/sequencediagram/bower_components/raphael/dev/
H A Draphael.core.js1971 if (!path2 && pth.curve) {
1972 return pathClone(pth.curve);
2106 pth.curve = pathClone(p);
4542 var curve = easyeasy;
4544 return CubicBezierAtTime(t, +curve[1], +curve[2], +curve[3], +curve[4], ms);
/plugin/callflow/
H A Draphael.js2357 if (!path2 && pth.curve) {
2358 return pathClone(pth.curve);
2462 pth.curve = pathClone(p);
4903 var curve = easyeasy;
4905 return CubicBezierAtTime(t, +curve[1], +curve[2], +curve[3], +curve[4], ms);
/plugin/advrack/
H A Draphael.js2357 if (!path2 && pth.curve) {
2358 return pathClone(pth.curve);
2462 pth.curve = pathClone(p);
4903 var curve = easyeasy;
4905 return CubicBezierAtTime(t, +curve[1], +curve[2], +curve[3], +curve[4], ms);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSSH2.php1766 $curve = strpos($this->kex_algorithm, 'curve25519-sha256') === 0 ?
1769 $ourPrivate = EC::createKey($curve);
/plugin/processing/
H A Dscript.js2643 case 67: // C - curve to (absolute)
2659 case 99: // c - curve to (relative)
2675 case 83: // S - curve to shorthand (absolute)
2701 case 115: // s - curve to shorthand (relative)
2727 case 81: // Q - quadratic curve to (absolute)
2741 case 113: // q - quadratic curve to (relative)
2755 case 84: // T - quadratic curve to shorthand (absolute)
2780 case 116: // t - quadratic curve to shorthand (relative)
8499 p.curve = function curve() { function
/plugin/diagramsnet/lib/js/grapheditor/
H A DShapes.js756 var curve = 0.5;
758 c.quadTo(w / 2, h * curve, w, 0);
759 c.quadTo(w * (1 - curve), h / 2, w, h);
760 c.quadTo(w / 2, h * (1 - curve), 0, h);
761 c.quadTo(w * curve, h / 2, 0, 0);
/plugin/passpolicy/
H A Dwords.txt854 curve

123