[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 if (class_exists('ParagonIE_Sodium_Core_Curve25519_Ge_Precomp', false)) { 4 return; 5 } 6 7 /** 8 * Class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp 9 */ 10 class ParagonIE_Sodium_Core_Curve25519_Ge_Precomp 11 { 12 /** 13 * @var ParagonIE_Sodium_Core_Curve25519_Fe 14 */ 15 public $yplusx; 16 17 /** 18 * @var ParagonIE_Sodium_Core_Curve25519_Fe 19 */ 20 public $yminusx; 21 22 /** 23 * @var ParagonIE_Sodium_Core_Curve25519_Fe 24 */ 25 public $xy2d; 26 27 /** 28 * ParagonIE_Sodium_Core_Curve25519_Ge_Precomp constructor. 29 * 30 * @internal You should not use this directly from another application 31 * 32 * @param ParagonIE_Sodium_Core_Curve25519_Fe $yplusx 33 * @param ParagonIE_Sodium_Core_Curve25519_Fe $yminusx 34 * @param ParagonIE_Sodium_Core_Curve25519_Fe $xy2d 35 */ 36 public function __construct( 37 $yplusx = null, 38 $yminusx = null, 39 $xy2d = null 40 ) { 41 if ($yplusx === null) { 42 $yplusx = new ParagonIE_Sodium_Core_Curve25519_Fe(); 43 } 44 if (!($yplusx instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 45 throw new TypeError('Argument 1 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 46 } 47 $this->yplusx = $yplusx; 48 if ($yminusx === null) { 49 $yminusx = new ParagonIE_Sodium_Core_Curve25519_Fe(); 50 } 51 if (!($yminusx instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 52 throw new TypeError('Argument 2 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 53 } 54 $this->yminusx = $yminusx; 55 if ($xy2d === null) { 56 $xy2d = new ParagonIE_Sodium_Core_Curve25519_Fe(); 57 } 58 if (!($xy2d instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 59 throw new TypeError('Argument 3 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 60 } 61 $this->xy2d = $xy2d; 62 } 63 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Sun Dec 22 08:20:01 2024 | Cross-referenced by PHPXref |