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
 * sect571k1
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 sect571k1 extends Binary
22
{
23
    public function __construct()
24
    {
25
        $this->setModulo(571, 10, 5, 2, 0);
26
        $this->setCoefficients(
27
            '000000000000000000000000000000000000000000000000000000000000000000000000' .
28
            '000000000000000000000000000000000000000000000000000000000000000000000000',
29
            '000000000000000000000000000000000000000000000000000000000000000000000000' .
30
            '000000000000000000000000000000000000000000000000000000000000000000000001'
31
        );
32
        $this->setBasePoint(
33
            '026EB7A859923FBC82189631F8103FE4AC9CA2970012D5D46024804801841CA443709584' .
34
            '93B205E647DA304DB4CEB08CBBD1BA39494776FB988B47174DCA88C7E2945283A01C8972',
35
            '0349DC807F4FBF374F4AEADE3BCA95314DD58CEC9F307A54FFC61EFC006D8A2C9D4979C0' .
36
            'AC44AEA74FBEBBB9F772AEDCB620B01A7BA7AF1B320430C8591984F601CD4C143EF1C7A3'
37
        );
38
        $this->setOrder(new BigInteger(
39
            '020000000000000000000000000000000000000000000000000000000000000000000000' .
40
            '131850E1F19A63E4B391A8DB917F4138B630D84BE5D639381E91DEB45CFE778F637C1001',
41
            16
42
        ));
43
    }
44
}