You are here

public static function ParagonIE_Sodium_Core32_Curve25519::ge_p3_to_p2 in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/paragonie/sodium_compat/src/Core32/Curve25519.php \ParagonIE_Sodium_Core32_Curve25519::ge_p3_to_p2()

@internal You should not use this directly from another application

Parameters

ParagonIE_Sodium_Core32_Curve25519_Ge_P3 $p:

Return value

ParagonIE_Sodium_Core32_Curve25519_Ge_P2

1 call to ParagonIE_Sodium_Core32_Curve25519::ge_p3_to_p2()
ParagonIE_Sodium_Core32_Curve25519::ge_p3_dbl in vendor/paragonie/sodium_compat/src/Core32/Curve25519.php
@internal You should not use this directly from another application

File

vendor/paragonie/sodium_compat/src/Core32/Curve25519.php, line 1769

Class

ParagonIE_Sodium_Core32_Curve25519
Class ParagonIE_Sodium_Core32_Curve25519

Code

public static function ge_p3_to_p2(ParagonIE_Sodium_Core32_Curve25519_Ge_P3 $p) {
  return new ParagonIE_Sodium_Core32_Curve25519_Ge_P2($p->X, $p->Y, $p->Z);
}