You are here

class ParagonIE_Sodium_Core_Curve25519_Ge_P2 in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/paragonie/sodium_compat/src/Core/Curve25519/Ge/P2.php \ParagonIE_Sodium_Core_Curve25519_Ge_P2

Class ParagonIE_Sodium_Core_Curve25519_Ge_P2

Hierarchy

Expanded class hierarchy of ParagonIE_Sodium_Core_Curve25519_Ge_P2

1 string reference to 'ParagonIE_Sodium_Core_Curve25519_Ge_P2'
P2.php in vendor/paragonie/sodium_compat/src/Core/Curve25519/Ge/P2.php

File

vendor/paragonie/sodium_compat/src/Core/Curve25519/Ge/P2.php, line 10

View source
class ParagonIE_Sodium_Core_Curve25519_Ge_P2 {

  /**
   * @var ParagonIE_Sodium_Core_Curve25519_Fe
   */
  public $X;

  /**
   * @var ParagonIE_Sodium_Core_Curve25519_Fe
   */
  public $Y;

  /**
   * @var ParagonIE_Sodium_Core_Curve25519_Fe
   */
  public $Z;

  /**
   * ParagonIE_Sodium_Core_Curve25519_Ge_P2 constructor.
   *
   * @internal You should not use this directly from another application
   *
   * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $x
   * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $y
   * @param ParagonIE_Sodium_Core_Curve25519_Fe|null $z
   */
  public function __construct(ParagonIE_Sodium_Core_Curve25519_Fe $x = null, ParagonIE_Sodium_Core_Curve25519_Fe $y = null, ParagonIE_Sodium_Core_Curve25519_Fe $z = 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;
  }

}

Members