Module secp_static

Module secp_static 

Source
Expand description

Globally accessible static instance of secp256k1, to avoid initialization overhead

Structs§

SECP256K1
Static reference to secp instance

Functions§

commit_to_zero_value
Convenient way to generate a commitment to zero.
static_secp_instance
Returns the static instance, but calls randomize on it as well (Recommended to avoid side channel attacks