Skip to main content

secp256r1Add

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / secp256r1Add

Function: secp256r1Add()

function secp256r1Add(a, b): Secp256r1Point;

Internal

The Compact builtin ecAdd function for secp256r1 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​

Secp256r1Point

b​

Secp256r1Point

Returns​

Secp256r1Point