Module secp256kfun::op

source ·
Expand description

Operations in the secp256k1 group.

The purpose of this module is to hold all the operations that can be done with secp256k1 Points and Scalars. Usually, you shouldn’t call these directly but instead use the group g! and scalar s! expression macros which compile your expressions into (potentially more efficient) calls to these functions.

Some of the functions here use the type parameters to try and optimize the operation they perform.

Functions§