curve25519ScalarAdd
For the complete documentation index, see llms.txt
@midnight-ntwrk/compact-runtime v0.20.0
@midnight-ntwrk/compact-runtime / curve25519ScalarAdd
Function: curve25519ScalarAdd()
function curve25519ScalarAdd(x, y): bigint;
Curve25519 scalar field addition
This function returns x + y in the Curve25519 scalar field (modulo CURVE25519_SCALAR_MODULUS).
Parameters
x
bigint
y
bigint
Returns
bigint