You are here

public static function ParagonIE_Sodium_Core_Curve25519::ge_p3_dbl in Automatic Updates 7

Same name and namespace in other branches
  1. 8 vendor/paragonie/sodium_compat/src/Core/Curve25519.php \ParagonIE_Sodium_Core_Curve25519::ge_p3_dbl()

@internal You should not use this directly from another application

Parameters

ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p:

Return value

ParagonIE_Sodium_Core_Curve25519_Ge_P1p1

3 calls to ParagonIE_Sodium_Core_Curve25519::ge_p3_dbl()
ParagonIE_Sodium_Core_Curve25519::ge_double_scalarmult_vartime in vendor/paragonie/sodium_compat/src/Core/Curve25519.php
@internal You should not use this directly from another application
ParagonIE_Sodium_Core_Curve25519::ge_mul_l in vendor/paragonie/sodium_compat/src/Core/Curve25519.php
multiply by the order of the main subgroup l = 2^252+27742317777372353535851937790883648493
ParagonIE_Sodium_Core_Curve25519::ge_scalarmult_base in vendor/paragonie/sodium_compat/src/Core/Curve25519.php
@internal You should not use this directly from another application

File

vendor/paragonie/sodium_compat/src/Core/Curve25519.php, line 1620

Class

ParagonIE_Sodium_Core_Curve25519
Class ParagonIE_Sodium_Core_Curve25519

Code

public static function ge_p3_dbl(ParagonIE_Sodium_Core_Curve25519_Ge_P3 $p) {
  $q = self::ge_p3_to_p2($p);
  return self::ge_p2_dbl($q);
}