Skip to main content

curve25519Add

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / curve25519Add

Function: curve25519Add()

function curve25519Add(a, b): Curve25519Point;

Internal

The Compact builtin ecAdd function for Curve25519 points.

This function adds two elliptic curve points. The points are assumed to be valid, points passed from compiler-generated code are always valid ones.

Parameters​

a​

Curve25519Point

b​

Curve25519Point

Returns​

Curve25519Point