Module p256k1::scalar

source ·
Expand description

Scalar arithmetic modulo the group order

Structs

Scalar is a wrapper around libsecp256k1’s internal secp256k1_scalar struct. It provides a scalar modulo the group order. Storing scalars in this format avoids unnecessary conversions from byte bffers, which provides a significant performance enhancement.

Enums

Errors when converting scalars
Errors in scalar operations