WordPress at a glance
function is not described

ParagonIE_Sodium_Core32_Curve25519::ge_p1p1_to_p2() public WP 1.0

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

No Hooks.

Return

ParagonIE_Sodium_Core32_Curve25519_Ge_P2. Null. Nothing.

Usage

$result = ParagonIE_Sodium_Core32_Curve25519::ge_p1p1_to_p2( $p );
$p(ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1) (required)
-

Code of ParagonIE_Sodium_Core32_Curve25519::ge_p1p1_to_p2() WP 5.7

<?php
public static function ge_p1p1_to_p2(ParagonIE_Sodium_Core32_Curve25519_Ge_P1p1 $p)
{
    $r = new ParagonIE_Sodium_Core32_Curve25519_Ge_P2();
    $r->X = self::fe_mul($p->X, $p->T);
    $r->Y = self::fe_mul($p->Y, $p->Z);
    $r->Z = self::fe_mul($p->Z, $p->T);
    return $r;
}