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
 * sect193r1
5
 *
6
 * PHP version 5 and 7
7
 *
874 daniel-mar 8
 * @category  Crypt
9
 * @package   EC
827 daniel-mar 10
 * @author    Jim Wigginton <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 sect193r1 extends Binary
22
{
23
    public function __construct()
24
    {
25
        $this->setModulo(193, 15, 0);
26
        $this->setCoefficients(
27
            '0017858FEB7A98975169E171F77B4087DE098AC8A911DF7B01',
28
            '00FDFB49BFE6C3A89FACADAA7A1E5BBC7CC1C2E5D831478814'
29
        );
30
        $this->setBasePoint(
31
            '01F481BC5F0FF84A74AD6CDF6FDEF4BF6179625372D8C0C5E1',
32
            '0025E399F2903712CCF3EA9E3A1AD17FB0B3201B6AF7CE1B05'
33
        );
34
        $this->setOrder(new BigInteger('01000000000000000000000000C7F34A778F443ACC920EBA49', 16));
35
    }
36
}