You are here

public function ParagonIE_Sodium_Core_Curve25519_Ge_P3::__construct in Automatic Updates 8

Same name and namespace in other branches
  1. 7 vendor/paragonie/sodium_compat/src/Core/Curve25519/Ge/P3.php \ParagonIE_Sodium_Core_Curve25519_Ge_P3::__construct()

ParagonIE_Sodium_Core_Curve25519_Ge_P3 constructor.

@internal You should not use this directly from another application

Parameters

ParagonIE_Sodium_Core_Curve25519_Fe|null $x:

ParagonIE_Sodium_Core_Curve25519_Fe|null $y:

ParagonIE_Sodium_Core_Curve25519_Fe|null $z:

ParagonIE_Sodium_Core_Curve25519_Fe|null $t:

File

vendor/paragonie/sodium_compat/src/Core/Curve25519/Ge/P3.php, line 42

Class

ParagonIE_Sodium_Core_Curve25519_Ge_P3
Class ParagonIE_Sodium_Core_Curve25519_Ge_P3

Code

public function __construct(ParagonIE_Sodium_Core_Curve25519_Fe $x = null, ParagonIE_Sodium_Core_Curve25519_Fe $y = null, ParagonIE_Sodium_Core_Curve25519_Fe $z = null, ParagonIE_Sodium_Core_Curve25519_Fe $t = null) {
  if ($x === null) {
    $x = new ParagonIE_Sodium_Core_Curve25519_Fe();
  }
  $this->X = $x;
  if ($y === null) {
    $y = new ParagonIE_Sodium_Core_Curve25519_Fe();
  }
  $this->Y = $y;
  if ($z === null) {
    $z = new ParagonIE_Sodium_Core_Curve25519_Fe();
  }
  $this->Z = $z;
  if ($t === null) {
    $t = new ParagonIE_Sodium_Core_Curve25519_Fe();
  }
  $this->T = $t;
}