Skip to main content

secp256r1ToProjective

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / secp256r1ToProjective

Function: secp256r1ToProjective()

function secp256r1ToProjective(p): WeierstrassPoint<bigint>;

Internal

Lift the simple affine Secp256r1Point representation into a noble-curves projective point. The point is assumed to be valid, points passed from compiler-generated code are always valid ones.

Parameters​

p​

Secp256r1Point

Returns​

WeierstrassPoint<bigint>