[−][src]Module secp256k1zkp::ffi
FFI bindings
Direct bindings to the underlying C library functions. These should not be needed for most users.
Structs
AggSigContext | Secp256k1 aggsig context. As above, needs to be destroyed with
|
AggSigPartialSignature | Library-internal representation of a Secp256k1 aggsig partial signature |
BulletproofGenerators | Secp256k1 bulletproof generators |
Context | A Secp256k1 context, containing various precomputed values and such
needed to do elliptic curve computations. If you create one of these
with |
Generator | Generator |
PublicKey | Library-internal representation of a Secp256k1 public key |
RecoverableSignature | Library-internal representation of a Secp256k1 signature + recovery ID |
ScratchSpace | Secp256k1 scratch space |
SharedSecret | Library-internal representation of an ECDH shared secret |
Signature | Library-internal representation of a Secp256k1 signature |
Constants
SECP256K1_START_NONE | Flag for context to enable no precomputation |
SECP256K1_START_VERIFY | Flag for context to enable verification precomputation |
SECP256K1_START_SIGN | Flag for context to enable signing precomputation |
SECP256K1_SER_UNCOMPRESSED | Flag for keys to indicate uncompressed serialization format |
SECP256K1_SER_COMPRESSED | Flag for keys to indicate compressed serialization format |
Statics
secp256k1_nonce_function_default | |
secp256k1_nonce_function_rfc6979 |
Functions
Type Definitions
NonceFn | A nonce generation function. Ordinary users of the library never need to see this type; only if you need to control nonce generation do you need to use it. I have deliberately made this hard to do: you have to write your own wrapper around the FFI functions to use it. And it's an unsafe type. Nonces are generated deterministically by RFC6979 by default; there should be no need to ever change this. |