Skip to main content

ecMul

@midnight-ntwrk/onchain-runtime v0.2.2Readme | API


@midnight-ntwrk/onchain-runtime v0.2.2 / ecMul

Function: ecMul()

Internal

ecMul(a, b): Value

Internal implementation of the elliptic curve multiplication primitive

Parameters

a: Value

b: Value

Returns

Value

Throws

If a does not encode an elliptic curve point or b does not encode a field element