.htaccess
9 months ago
Curve25519.php
9 months ago
Curve448.php
9 months ago
Ed25519.php
9 months ago
Ed448.php
9 months ago
brainpoolP160r1.php
9 months ago
brainpoolP160t1.php
9 months ago
brainpoolP192r1.php
9 months ago
brainpoolP192t1.php
9 months ago
brainpoolP224r1.php
9 months ago
brainpoolP224t1.php
9 months ago
brainpoolP256r1.php
9 months ago
brainpoolP256t1.php
9 months ago
brainpoolP320r1.php
9 months ago
brainpoolP320t1.php
9 months ago
brainpoolP384r1.php
9 months ago
brainpoolP384t1.php
9 months ago
brainpoolP512r1.php
9 months ago
brainpoolP512t1.php
9 months ago
index.html
9 months ago
nistb233.php
9 months ago
nistb409.php
9 months ago
nistk163.php
9 months ago
nistk233.php
9 months ago
nistk283.php
9 months ago
nistk409.php
9 months ago
nistp192.php
9 months ago
nistp224.php
9 months ago
nistp256.php
9 months ago
nistp384.php
9 months ago
nistp521.php
9 months ago
nistt571.php
9 months ago
prime192v1.php
9 months ago
prime192v2.php
9 months ago
prime192v3.php
9 months ago
prime239v1.php
9 months ago
prime239v2.php
9 months ago
prime239v3.php
9 months ago
prime256v1.php
9 months ago
secp112r1.php
9 months ago
secp112r2.php
9 months ago
secp128r1.php
9 months ago
secp128r2.php
9 months ago
secp160k1.php
9 months ago
secp160r1.php
9 months ago
secp160r2.php
9 months ago
secp192k1.php
9 months ago
secp192r1.php
9 months ago
secp224k1.php
9 months ago
secp224r1.php
9 months ago
secp256k1.php
9 months ago
secp256r1.php
9 months ago
secp384r1.php
9 months ago
secp521r1.php
9 months ago
sect113r1.php
9 months ago
sect113r2.php
9 months ago
sect131r1.php
9 months ago
sect131r2.php
9 months ago
sect163k1.php
9 months ago
sect163r1.php
9 months ago
sect163r2.php
9 months ago
sect193r1.php
9 months ago
sect193r2.php
9 months ago
sect233k1.php
9 months ago
sect233r1.php
9 months ago
sect239k1.php
9 months ago
sect283k1.php
9 months ago
sect283r1.php
9 months ago
sect409k1.php
9 months ago
sect409r1.php
9 months ago
sect571k1.php
9 months ago
sect571r1.php
9 months ago
web.config
9 months ago
brainpoolP224t1.php
37 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * brainpoolP224t1 |
| 5 | * |
| 6 | * PHP version 5 and 7 |
| 7 | * |
| 8 | * @author Jim Wigginton <terrafrost@php.net> |
| 9 | * @copyright 2017 Jim Wigginton |
| 10 | * @license http://www.opensource.org/licenses/mit-license.html MIT License |
| 11 | * @link http://pear.php.net/package/Math_BigInteger |
| 12 | */ |
| 13 | |
| 14 | declare(strict_types=1); |
| 15 | |
| 16 | namespace phpseclib3\Crypt\EC\Curves; |
| 17 | |
| 18 | use phpseclib3\Crypt\EC\BaseCurves\Prime; |
| 19 | use phpseclib3\Math\BigInteger; |
| 20 | |
| 21 | class brainpoolP224t1 extends Prime |
| 22 | { |
| 23 | public function __construct() |
| 24 | { |
| 25 | $this->setModulo(new BigInteger('D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FF', 16)); |
| 26 | $this->setCoefficients( |
| 27 | new BigInteger('D7C134AA264366862A18302575D1D787B09F075797DA89F57EC8C0FC', 16), // eg. -3 |
| 28 | new BigInteger('4B337D934104CD7BEF271BF60CED1ED20DA14C08B3BB64F18A60888D', 16) |
| 29 | ); |
| 30 | $this->setBasePoint( |
| 31 | new BigInteger('6AB1E344CE25FF3896424E7FFE14762ECB49F8928AC0C76029B4D580', 16), |
| 32 | new BigInteger('0374E9F5143E568CD23F3F4D7C0D4B1E41C8CC0D1C6ABD5F1A46DB4C', 16) |
| 33 | ); |
| 34 | $this->setOrder(new BigInteger('D7C134AA264366862A18302575D0FB98D116BC4B6DDEBCA3A5A7939F', 16)); |
| 35 | } |
| 36 | } |
| 37 |