ParagonIE_Sodium_Core32_Curve25519::fe_sub

SummerySummery

Subtract two field elements.

Syntax

ParagonIE_Sodium_Core32_Curve25519::fe_sub( ParagonIE_Sodium_Core32_Curve25519_Fe $f, ParagonIE_Sodium_Core32_Curve25519_Fe $g )

DescriptionDescription

h = f – g

Preconditions: |f| bounded by 1.1_2^25,1.1_2^24,1.1_2^25,1.1_2^24,etc. |g| bounded by 1.1_2^25,1.1_2^24,1.1_2^25,1.1_2^24,etc.

Postconditions: |h| bounded by 1.1_2^26,1.1_2^25,1.1_2^26,1.1_2^25,etc.

ParametersParameters

$f

(ParagonIE_Sodium_Core32_Curve25519_Fe) (Required)

$g

(ParagonIE_Sodium_Core32_Curve25519_Fe) (Required)

ReturnReturn

(ParagonIE_Sodium_Core32_Curve25519_Fe)

SourceSource

File: wp-includes/sodium_compat/src/Core32/Curve25519.php


			
Scroll to Top