2018-10-25 03:00:37 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* sect409k1
|
|
|
|
*
|
|
|
|
* PHP version 5 and 7
|
|
|
|
*
|
|
|
|
* @category Crypt
|
2019-06-28 02:10:40 +02:00
|
|
|
* @package EC
|
2018-10-25 03:00:37 +02:00
|
|
|
* @author Jim Wiggint on <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
|
|
|
|
*/
|
|
|
|
|
2019-06-28 02:10:40 +02:00
|
|
|
namespace phpseclib\Crypt\EC\Curves;
|
2018-10-25 03:00:37 +02:00
|
|
|
|
2019-06-28 02:10:40 +02:00
|
|
|
use phpseclib\Crypt\EC\BaseCurves\Binary;
|
2018-10-25 03:00:37 +02:00
|
|
|
use phpseclib\Math\BigInteger;
|
|
|
|
|
|
|
|
class sect409k1 extends Binary
|
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
$this->setModulo(409, 87, 0);
|
|
|
|
$this->setCoefficients(
|
|
|
|
'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
|
|
|
|
'00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001'
|
2018-12-03 10:47:46 +01:00
|
|
|
);
|
2018-10-25 03:00:37 +02:00
|
|
|
$this->setBasePoint(
|
|
|
|
'0060F05F658F49C1AD3AB1890F7184210EFD0987E307C84C27ACCFB8F9F67CC2C460189EB5AAAA62EE222EB1B35540CFE9023746',
|
|
|
|
'01E369050B7C4E42ACBA1DACBF04299C3460782F918EA427E6325165E9EA10E3DA5F6C42E9C55215AA9CA27A5863EC48D8E0286B'
|
|
|
|
);
|
|
|
|
$this->setOrder(new BigInteger(
|
|
|
|
'7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5F' .
|
|
|
|
'83B2D4EA20400EC4557D5ED3E3E7CA5B4B5C83B8E01E5FCF', 16
|
|
|
|
));
|
|
|
|
}
|
2018-12-03 10:47:46 +01:00
|
|
|
}
|