## Structs

Sign precomputation state.

## Functions

Checks that the argument, as little-endian integer, is a reduced non-zero element of the scalar field.

Checks that the argument, as little-endian integer, is a reduced element of the base field.

Converts endianness by reversing the input value.

Generates the shared secret according to the ECDH standard.

Calculates the public key from a given private key for use by either ECDSA or ECDH.

Decodes a point according to the three encodings above.

Compressed encoding

Hybrid encoding

Uncompressed encoding

Raw scalar multiplication by the base point of the elliptic curve.

Raw scalar multiplication by any point on the elliptic curve.

Creates an ECDSA signature.

Creates an ECDSA signature, using a two-step procedure.

Second step of creating an ECDSA signature, using a two-step procedure.

Verifies an ECDSA signature.