Skip to main content

ecAdd

@midnight-ntwrk/ledger v3.0.2Readme | API


@midnight-ntwrk/ledger v3.0.2 / ecAdd

Function: ecAdd()

Internal

ecAdd(a, b): Value

Internal implementation of the elliptic curve addition primitive

Parameters

a: Value

b: Value

Returns

Value

Throws

If either input does not encode an elliptic curve point