WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_Curve25519::ge_p3_to_p2() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core_Curve25519{}

No Hooks.

Return

ParagonIE_Sodium_Core_Curve25519_Ge_P2.

Usage

$result = ParagonIE_Sodium_Core_Curve25519::ge_p3_to_p2( $p );
$p(ParagonIE_Sodium_Core_Curve25519_Ge_P3) (required)
-

Code of ParagonIE_Sodium_Core_Curve25519::ge_p3_to_p2() WP 5.8.2

public static function ge_p3_to_p2(ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p)
{
    return new ParagonIE_Sodium_Core_Curve25519_Ge_P2(
        self::fe_copy($p->X),
        self::fe_copy($p->Y),
        self::fe_copy($p->Z)
    );
}