[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 3 4 if (class_exists('ParagonIE_Sodium_Core_Curve25519_Ge_Cached', false)) { 5 return; 6 } 7 /** 8 * Class ParagonIE_Sodium_Core_Curve25519_Ge_Cached 9 */ 10 class ParagonIE_Sodium_Core_Curve25519_Ge_Cached 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 $Z; 26 27 /** 28 * @var ParagonIE_Sodium_Core_Curve25519_Fe 29 */ 30 public $T2d; 31 32 /** 33 * ParagonIE_Sodium_Core_Curve25519_Ge_Cached constructor. 34 * 35 * @internal You should not use this directly from another application 36 * 37 * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $YplusX 38 * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $YminusX 39 * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $Z 40 * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $T2d 41 */ 42 public function __construct( 43 $YplusX = null, 44 $YminusX = null, 45 $Z = null, 46 $T2d = null 47 ) { 48 if ($YplusX === null) { 49 $YplusX = new ParagonIE_Sodium_Core_Curve25519_Fe(); 50 } 51 if (!($YplusX instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 52 throw new TypeError('Argument 1 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 53 } 54 $this->YplusX = $YplusX; 55 if ($YminusX === null) { 56 $YminusX = new ParagonIE_Sodium_Core_Curve25519_Fe(); 57 } 58 if (!($YminusX instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 59 throw new TypeError('Argument 2 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 60 } 61 $this->YminusX = $YminusX; 62 if ($Z === null) { 63 $Z = new ParagonIE_Sodium_Core_Curve25519_Fe(); 64 } 65 if (!($Z instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 66 throw new TypeError('Argument 3 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 67 } 68 $this->Z = $Z; 69 if ($T2d === null) { 70 $T2d = new ParagonIE_Sodium_Core_Curve25519_Fe(); 71 } 72 if (!($T2d instanceof ParagonIE_Sodium_Core_Curve25519_Fe)) { 73 throw new TypeError('Argument 4 must be an instance of ParagonIE_Sodium_Core_Curve25519_Fe'); 74 } 75 $this->T2d = $T2d; 76 } 77 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated : Thu Nov 21 08:20:01 2024 | Cross-referenced by PHPXref |