You are here

public static function ParagonIE_Sodium_Core32_Curve25519::fe_copy in Automatic Updates 8

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

Create a copy of a field element.

@internal You should not use this directly from another application

Parameters

ParagonIE_Sodium_Core32_Curve25519_Fe $f:

Return value

ParagonIE_Sodium_Core32_Curve25519_Fe

3 calls to ParagonIE_Sodium_Core32_Curve25519::fe_copy()
ParagonIE_Sodium_Core32_Curve25519::ge_p3_to_cached in vendor/paragonie/sodium_compat/src/Core32/Curve25519.php
@internal You should not use this directly from another application
ParagonIE_Sodium_Core32_Curve25519::ge_select in vendor/paragonie/sodium_compat/src/Core32/Curve25519.php
@internal You should not use this directly from another application
ParagonIE_Sodium_Core32_X25519::crypto_scalarmult_curve25519_ref10 in vendor/paragonie/sodium_compat/src/Core32/X25519.php
@internal You should not use this directly from another application

File

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

Class

ParagonIE_Sodium_Core32_Curve25519
Class ParagonIE_Sodium_Core32_Curve25519

Code

public static function fe_copy(ParagonIE_Sodium_Core32_Curve25519_Fe $f) {
  $h = clone $f;
  return $h;
}