wppaste
WordPress

ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp

Source
wp-includes/sodium_compat/src/Core32/Curve25519/Ge/Precomp.php:10
Class ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp

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 · 3

$yplusxParagonIE_Sodium_Core32_Curve25519_Fepublic
$yminusxParagonIE_Sodium_Core32_Curve25519_Fepublic
$xy2dParagonIE_Sodium_Core32_Curve25519_Fepublic

Methods · 1

  • __construct()ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp constructor.

Source code

class ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp{    /**     * @var ParagonIE_Sodium_Core32_Curve25519_Fe     */    public $yplusx;     /**     * @var ParagonIE_Sodium_Core32_Curve25519_Fe     */    public $yminusx;     /**     * @var ParagonIE_Sodium_Core32_Curve25519_Fe     */    public $xy2d;     /**     * ParagonIE_Sodium_Core32_Curve25519_Ge_Precomp constructor.     *     * @internal You should not use this directly from another application     *     * @param ParagonIE_Sodium_Core32_Curve25519_Fe $yplusx     * @param ParagonIE_Sodium_Core32_Curve25519_Fe $yminusx     * @param ParagonIE_Sodium_Core32_Curve25519_Fe $xy2d     * @throws SodiumException     * @throws TypeError     */    public function __construct(        ParagonIE_Sodium_Core32_Curve25519_Fe $yplusx = null,        ParagonIE_Sodium_Core32_Curve25519_Fe $yminusx = null,        ParagonIE_Sodium_Core32_Curve25519_Fe $xy2d = null    ) {        if ($yplusx === null) {            $yplusx = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->yplusx = $yplusx;        if ($yminusx === null) {            $yminusx = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->yminusx = $yminusx;        if ($xy2d === null) {            $xy2d = ParagonIE_Sodium_Core32_Curve25519::fe_0();        }        $this->xy2d = $xy2d;    }}

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/Precomp.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.