Subversion Repositories oidplus

Rev

Rev 846 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
827 daniel-mar 1
<?php
2
 
3
/**
4
 * sect409k1
5
 *
6
 * PHP version 5 and 7
7
 *
874 daniel-mar 8
 * @category  Crypt
9
 * @package   EC
827 daniel-mar 10
 * @author    Jim Wiggint  on <terrafrost@php.net>
11
 * @copyright 2017 Jim Wigginton
12
 * @license   http://www.opensource.org/licenses/mit-license.html  MIT License
13
 * @link      http://pear.php.net/package/Math_BigInteger
14
 */
15
 
16
namespace phpseclib3\Crypt\EC\Curves;
17
 
18
use phpseclib3\Crypt\EC\BaseCurves\Binary;
19
use phpseclib3\Math\BigInteger;
20
 
21
class sect409k1 extends Binary
22
{
23
    public function __construct()
24
    {
25
        $this->setModulo(409, 87, 0);
26
        $this->setCoefficients(
27
            '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
28
            '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001'
29
        );
30
        $this->setBasePoint(
31
            '0060F05F658F49C1AD3AB1890F7184210EFD0987E307C84C27ACCFB8F9F67CC2C460189EB5AAAA62EE222EB1B35540CFE9023746',
32
            '01E369050B7C4E42ACBA1DACBF04299C3460782F918EA427E6325165E9EA10E3DA5F6C42E9C55215AA9CA27A5863EC48D8E0286B'
33
        );
34
        $this->setOrder(new BigInteger(
35
            '7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE5F' .
36
            '83B2D4EA20400EC4557D5ED3E3E7CA5B4B5C83B8E01E5FCF',
37
            16
38
        ));
39
    }
40
}