Subversion Repositories oidplus

Rev

Rev 874 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. /**
  4.  * sect193r2
  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. namespace phpseclib3\Crypt\EC\Curves;
  15.  
  16. use phpseclib3\Crypt\EC\BaseCurves\Binary;
  17. use phpseclib3\Math\BigInteger;
  18.  
  19. class sect193r2 extends Binary
  20. {
  21.     public function __construct()
  22.     {
  23.         $this->setModulo(193, 15, 0);
  24.         $this->setCoefficients(
  25.             '0163F35A5137C2CE3EA6ED8667190B0BC43ECD69977702709B',
  26.             '00C9BB9E8927D4D64C377E2AB2856A5B16E3EFB7F61D4316AE'
  27.         );
  28.         $this->setBasePoint(
  29.             '00D9B67D192E0367C803F39E1A7E82CA14A651350AAE617E8F',
  30.             '01CE94335607C304AC29E7DEFBD9CA01F596F927224CDECF6C'
  31.         );
  32.         $this->setOrder(new BigInteger('010000000000000000000000015AAB561B005413CCD4EE99D5', 16));
  33.     }
  34. }
  35.