wppaste
WordPress

ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1

Source
wp-includes/sodium_compat/src/Core32/Curve25519/Ge/P1p1.php:9
Class ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1

Compatibility

WordPress
core
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Properties · 4

$XParagonIE_Sodium_Core32_Curve25519_Fepublic
$YParagonIE_Sodium_Core32_Curve25519_Fepublic
$ZParagonIE_Sodium_Core32_Curve25519_Fepublic
$TParagonIE_Sodium_Core32_Curve25519_Fepublic

Methods · 1

  • __construct()ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1 constructor.

Source code

class ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1{    /**     * @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_P1p1 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     *     * @throws SodiumException     * @throws TypeError     */    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 = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->X = $x;        if ($y === null) {            $y = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->Y = $y;        if ($z === null) {            $z = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->Z = $z;        if ($t === null) {            $t = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->T = $t;    }}

Changelog

Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/sodium_compat/src/Core32/Curve25519/Ge/P1p1.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.