Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
scratch_impl.h
Go to the documentation of this file.
18 static secp256k1_scratch* secp256k1_scratch_create(const secp256k1_callback* error_callback, size_t max_size) {
35 static size_t secp256k1_scratch_max_allocation(const secp256k1_scratch* scratch, size_t objects) {
47 static int secp256k1_scratch_allocate_frame(secp256k1_scratch* scratch, size_t n, size_t objects) {
void * data[SECP256K1_SCRATCH_MAX_FRAMES]
Definition: scratch.h:15
const secp256k1_callback * error_callback
Definition: scratch.h:20
static secp256k1_scratch * secp256k1_scratch_create(const secp256k1_callback *error_callback, size_t max_size)
Definition: scratch_impl.h:18
static void secp256k1_scratch_destroy(secp256k1_scratch *scratch)
Definition: scratch_impl.h:28
size_t frame_size[SECP256K1_SCRATCH_MAX_FRAMES]
Definition: scratch.h:17
static size_t secp256k1_scratch_max_allocation(const secp256k1_scratch *scratch, size_t objects)
Definition: scratch_impl.h:35
Definition: scratch.h:14
Definition: util.h:18
size_t offset[SECP256K1_SCRATCH_MAX_FRAMES]
Definition: scratch.h:16
static SECP256K1_INLINE void * checked_malloc(const secp256k1_callback *cb, size_t size)
Definition: util.h:71
static void secp256k1_scratch_deallocate_frame(secp256k1_scratch *scratch)
Definition: scratch_impl.h:65
static int secp256k1_scratch_allocate_frame(secp256k1_scratch *scratch, size_t n, size_t objects)
Definition: scratch_impl.h:47
static void * secp256k1_scratch_alloc(secp256k1_scratch *scratch, size_t size)
Definition: scratch_impl.h:71