| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| D | EC.php | 80 protected $curve; variable in phpseclib3\\Crypt\\EC 137 * @param string $curve 140 public static function createKey($curve) argument 148 $curve = strtolower($curve); 149 …if (self::$engines['libsodium'] && $curve == 'ed25519' && function_exists('sodium_crypto_sign_keyp… 163 $curveName = $curve; 169 $curve = '\phpseclib3\Crypt\EC\Curves\\' . $curveName; 171 if (!class_exists($curve)) { 175 $reflect = new \ReflectionClass($curve); 180 $curve = new $curve(); [all …]
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
| D | Common.php | 193 public static function setImplicitCurve(BaseCurve $curve) argument 195 self::$implicitCurve = $curve; 211 $curve = '\phpseclib3\Crypt\EC\Curves\\' . $params['namedCurve']; 212 if (!class_exists($curve)) { 215 return new $curve(); 227 $curve = new PrimeCurve(); 228 $curve->setModulo($data['fieldID']['parameters']); 229 $curve->setCoefficients( 233 $point = self::extractPoint("\0" . $data['base'], $curve); 234 $curve->setBasePoint(...$point); [all …]
|
| D | XML.php | 101 $curve = self::loadCurveByParam($xpath); 106 self::extractPointRFC4050($xpath, $curve) : 107 self::extractPoint("\0" . $pubkey, $curve); 183 private static function extractPointRFC4050(\DOMXPath $xpath, BaseCurve $curve) argument 194 $curve->convertInteger(new BigInteger($x->item(0)->getAttribute('Value'))), 195 $curve->convertInteger(new BigInteger($y->item(0)->getAttribute('Value'))) 197 if (!$curve->verifyPoint($point)) { 221 $curve = '\phpseclib3\Crypt\EC\Curves\\' . $name; 222 if (!class_exists($curve)) { 225 return new $curve(); [all …]
|
| D | OpenSSH.php | 75 $curve = self::loadCurveByParam(['namedCurve' => $curveName]); 76 $curve->rangeCheck($privateKey); 78 'curve' => $curve, 80 'QA' => self::extractPoint("\0$publicKey", $curve), 90 $curve = new Ed25519(); 91 $qa = self::extractPoint($parsed['publicKey'], $curve); 95 $curve = new $curveName(); 97 $qa = self::extractPoint("\0" . $publicKey, $curve); 101 'curve' => $curve, 112 private static function getAlias(BaseCurve $curve) argument [all …]
|
| D | libsodium.php | 73 $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);
|
| D | PKCS8.php | 181 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 …]
|
| D | MontgomeryPrivate.php | 59 $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
|
| D | PKCS1.php | 154 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)),
|
| D | PuTTY.php | 101 …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));
|
| D | MontgomeryPublic.php | 51 $curve = new Curve25519(); 54 $curve = new Curve448(); 60 $components = ['curve' => $curve]; 74 public static function savePublicKey(MontgomeryCurve $curve, array $publicKey) argument
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ |
| D | PublicKey.php | 50 if ($this->curve instanceof MontgomeryCurve) { 60 $order = $this->curve->getOrder(); 62 if ($this->curve instanceof TwistedEdwardsCurve) { 67 … if ($this->curve instanceof Ed25519 && self::$engines['libsodium'] && !isset($this->context)) { 71 $curve = $this->curve; 72 if (strlen($signature) != 2 * $curve::SIZE) { 76 $R = substr($signature, 0, $curve::SIZE); 77 $S = substr($signature, $curve::SIZE); 80 $R = PKCS1::extractPoint($R, $curve); 81 $R = $this->curve->convertToInternal($R); [all …]
|
| D | PrivateKey.php | 61 if ($this->curve instanceof MontgomeryCurve) { 62 if ($this->curve instanceof Curve25519 && self::$engines['libsodium']) { 66 $point = [$this->curve->convertInteger(new BigInteger(strrev($coordinates), 256))]; 67 $point = $this->curve->multiplyPoint($point, $this->dA); 70 if (!$this->curve instanceof TwistedEdwardsCurve) { 73 $point = PKCS1::extractPoint($coordinates, $this->curve); 74 $point = $this->curve->multiplyPoint($point, $this->dA); 75 if ($this->curve instanceof TwistedEdwardsCurve) { 76 return $this->curve->encodePoint($point); 94 if ($this->curve instanceof MontgomeryCurve) { [all …]
|
| D | Parameters.php | 38 return $type::saveParameters($this->curve, $options);
|
| /plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/ |
| D | SSH2.php | 77 * @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/ |
| D | exceljs.js | 38411 if (priv.curve) { 38442 var curveId = curves[priv.curve.join('.')]; 38443 if (!curveId) throw new Error('unknown curve ' + priv.curve.join('.')); 38444 var curve = new EC(curveId); 38445 var key = curve.keyFromPrivate(priv.privateKey); 38621 var curveId = curves[pub.data.algorithm.curve.join('.')]; 38622 if (!curveId) throw new Error('unknown curve ' + pub.data.algorithm.curve.join('.')); 38623 var curve = new EC(curveId); 38625 return curve.verify(hash, sig, pubkey); 43592 module.exports = function createECDH(curve) { [all …]
|
| /plugin/diagramsnet/lib/js/rough/ |
| D | rough.js.modified | 1675 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); 2174 …Attribute("stroke-width", "0"), _e28.setAttribute("fill", s.fill || ""), "curve" !== t.shape && "p… 2254 key: "curve", [all …]
|
| D | rough.js.orig | 1 …curve(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…
|
| D | rough.min.js | 77 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/ |
| D | raphael.core.js | 1971 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/ |
| D | raphael.js | 2357 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/ |
| D | raphael.js | 2357 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/ |
| D | SSH2.php | 1766 $curve = strpos($this->kex_algorithm, 'curve25519-sha256') === 0 ? 1769 $ourPrivate = EC::createKey($curve);
|
| /plugin/processing/ |
| D | script.js | 2643 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/ |
| D | Shapes.js | 756 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/ |
| D | words.txt | 854 curve
|