PATH:
home
/
lab2454c
/
vaultchip.com
/
vendor
/
phpseclib
/
phpseclib
/
phpseclib
/
Crypt
/
EC
/
Curves
<?php /** * brainpoolP160t1 * * This curve is a twisted version of brainpoolP160r1 with A = -3. With brainpool, * the curves ending in r1 are the "regular" curves and the curves ending in "t1" * are the twisted version of the r1 curves. Per https://tools.ietf.org/html/rfc5639#page-7 * you can convert a point on an r1 curve to a point on a t1 curve thusly: * * F(x,y) := (x*Z^2, y*Z^3) * * The advantage of A = -3 is that some of the point doubling and point addition can be * slightly optimized. See http://hyperelliptic.org/EFD/g1p/auto-shortw-projective-3.html * vs http://hyperelliptic.org/EFD/g1p/auto-shortw-projective.html for example. * * phpseclib does not currently take advantage of this optimization opportunity * * PHP version 5 and 7 * * @category Crypt * @package EC * @author Jim Wigginton <terrafrost@php.net> * @copyright 2017 Jim Wigginton * @license http://www.opensource.org/licenses/mit-license.html MIT License * @link http://pear.php.net/package/Math_BigInteger */ namespace phpseclib3\Crypt\EC\Curves; use phpseclib3\Crypt\EC\BaseCurves\Prime; use phpseclib3\Math\BigInteger; class brainpoolP160t1 extends Prime { public function __construct() { $this->setModulo(new BigInteger('E95E4A5F737059DC60DFC7AD95B3D8139515620F', 16)); $this->setCoefficients( new BigInteger('E95E4A5F737059DC60DFC7AD95B3D8139515620C', 16), // eg. -3 new BigInteger('7A556B6DAE535B7B51ED2C4D7DAA7A0B5C55F380', 16) ); $this->setBasePoint( new BigInteger('B199B13B9B34EFC1397E64BAEB05ACC265FF2378', 16), new BigInteger('ADD6718B7C7C1961F0991B842443772152C9E0AD', 16) ); $this->setOrder(new BigInteger('E95E4A5F737059DC60DF5991D45029409E60FC09', 16)); } }
[-] nistp521.php
[edit]
[-] sect283r1.php
[edit]
[-] sect409k1.php
[edit]
[-] secp192r1.php
[edit]
[-] secp112r2.php
[edit]
[-] secp224k1.php
[edit]
[-] brainpoolP512t1.php
[edit]
[-] brainpoolP160t1.php
[edit]
[-] secp160r1.php
[edit]
[-] secp192k1.php
[edit]
[-] nistb409.php
[edit]
[-] prime192v1.php
[edit]
[-] brainpoolP384r1.php
[edit]
[-] brainpoolP512r1.php
[edit]
[-] nistp192.php
[edit]
[+]
..
[-] Curve25519.php
[edit]
[-] prime239v3.php
[edit]
[-] sect233k1.php
[edit]
[-] secp256r1.php
[edit]
[-] nistp384.php
[edit]
[-] sect163r2.php
[edit]
[-] sect131r2.php
[edit]
[-] sect131r1.php
[edit]
[-] prime256v1.php
[edit]
[-] secp224r1.php
[edit]
[-] secp128r1.php
[edit]
[-] sect409r1.php
[edit]
[-] brainpoolP256r1.php
[edit]
[-] brainpoolP320t1.php
[edit]
[-] brainpoolP224r1.php
[edit]
[-] sect113r1.php
[edit]
[-] sect113r2.php
[edit]
[-] brainpoolP384t1.php
[edit]
[-] prime239v2.php
[edit]
[-] nistk163.php
[edit]
[-] nistp256.php
[edit]
[-] Curve448.php
[edit]
[-] prime192v2.php
[edit]
[-] nistb233.php
[edit]
[-] nistp224.php
[edit]
[-] sect163k1.php
[edit]
[-] secp112r1.php
[edit]
[-] sect193r1.php
[edit]
[-] brainpoolP192r1.php
[edit]
[-] prime239v1.php
[edit]
[-] sect193r2.php
[edit]
[-] nistk409.php
[edit]
[-] secp256k1.php
[edit]
[-] secp160r2.php
[edit]
[-] sect163r1.php
[edit]
[-] brainpoolP192t1.php
[edit]
[-] nistk283.php
[edit]
[-] secp160k1.php
[edit]
[-] brainpoolP256t1.php
[edit]
[-] Ed25519.php
[edit]
[-] prime192v3.php
[edit]
[-] sect571r1.php
[edit]
[-] secp128r2.php
[edit]
[-] sect283k1.php
[edit]
[-] sect233r1.php
[edit]
[-] sect239k1.php
[edit]
[-] sect571k1.php
[edit]
[-] secp521r1.php
[edit]
[-] Ed448.php
[edit]
[-] brainpoolP224t1.php
[edit]
[-] secp384r1.php
[edit]
[-] nistt571.php
[edit]
[-] brainpoolP320r1.php
[edit]
[-] brainpoolP160r1.php
[edit]
[-] nistk233.php
[edit]