summaryrefslogtreecommitdiffstats
path: root/vendor/paragonie/sodium_compat/src/Core32/Curve25519/Ge/P3.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/paragonie/sodium_compat/src/Core32/Curve25519/Ge/P3.php')
-rw-r--r--vendor/paragonie/sodium_compat/src/Core32/Curve25519/Ge/P3.php65
1 files changed, 65 insertions, 0 deletions
diff --git a/vendor/paragonie/sodium_compat/src/Core32/Curve25519/Ge/P3.php b/vendor/paragonie/sodium_compat/src/Core32/Curve25519/Ge/P3.php
new file mode 100644
index 0000000..c9e4b16
--- /dev/null
+++ b/vendor/paragonie/sodium_compat/src/Core32/Curve25519/Ge/P3.php
@@ -0,0 +1,65 @@
+<?php
+
+if (class_exists('ParagonIE_Sodium_Core32_Curve25519_Ge_P3', false)) {
+ return;
+}
+
+/**
+ * Class ParagonIE_Sodium_Core32_Curve25519_Ge_P3
+ */
+class ParagonIE_Sodium_Core32_Curve25519_Ge_P3
+{
+ /**
+ * @var ParagonIE_Sodium_Core32_Curve25519_Fe
+ */
+ public $X;
+
+ /**
+ * @var ParagonIE_Sodium_Core32_Curve25519_Fe
+ */
+ public $Y;
+
+ /**
+ * @var ParagonIE_Sodium_Core32_Curve25519_Fe
+ */
+ public $Z;
+
+ /**
+ * @var ParagonIE_Sodium_Core32_Curve25519_Fe
+ */
+ public $T;
+
+ /**
+ * ParagonIE_Sodium_Core32_Curve25519_Ge_P3 constructor.
+ *
+ * @internal You should not use this directly from another application
+ *
+ * @param ParagonIE_Sodium_Core32_Curve25519_Fe|null $x
+ * @param ParagonIE_Sodium_Core32_Curve25519_Fe|null $y
+ * @param ParagonIE_Sodium_Core32_Curve25519_Fe|null $z
+ * @param ParagonIE_Sodium_Core32_Curve25519_Fe|null $t
+ */
+ public function __construct(
+ ParagonIE_Sodium_Core32_Curve25519_Fe $x = null,
+ ParagonIE_Sodium_Core32_Curve25519_Fe $y = null,
+ ParagonIE_Sodium_Core32_Curve25519_Fe $z = null,
+ ParagonIE_Sodium_Core32_Curve25519_Fe $t = null
+ ) {
+ if ($x === null) {
+ $x = new ParagonIE_Sodium_Core32_Curve25519_Fe();
+ }
+ $this->X = $x;
+ if ($y === null) {
+ $y = new ParagonIE_Sodium_Core32_Curve25519_Fe();
+ }
+ $this->Y = $y;
+ if ($z === null) {
+ $z = new ParagonIE_Sodium_Core32_Curve25519_Fe();
+ }
+ $this->Z = $z;
+ if ($t === null) {
+ $t = new ParagonIE_Sodium_Core32_Curve25519_Fe();
+ }
+ $this->T = $t;
+ }
+}