Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
org_bitcoin_Secp256k1Context.c
Go to the documentation of this file.
1#include <stdlib.h>
2#include <stdint.h>
4#include "include/secp256k1.h"
5
15
secp256k1_context * ctx
SECP256K1_API jlong JNICALL Java_org_bitcoin_Secp256k1Context_secp256k1_1init_1context(JNIEnv *env, jclass classObject)
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
#define SECP256K1_CONTEXT_SIGN
Definition secp256k1.h:174
SECP256K1_API secp256k1_context * secp256k1_context_create(unsigned int flags) SECP256K1_WARN_UNUSED_RESULT
Create a secp256k1 context object (in dynamically allocated memory).
Definition secp256k1.c:152
#define SECP256K1_API
Definition secp256k1.h:143
#define SECP256K1_CONTEXT_VERIFY
Flags to pass to secp256k1_context_create, secp256k1_context_preallocated_size, and secp256k1_context...
Definition secp256k1.h:173