Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

scratch_impl.h File Reference
#include "scratch.h"
+ Include dependency graph for scratch_impl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ALIGNMENT   16
 

Functions

static secp256k1_scratchsecp256k1_scratch_create (const secp256k1_callback *error_callback, size_t max_size)
 
static void secp256k1_scratch_destroy (secp256k1_scratch *scratch)
 
static size_t secp256k1_scratch_max_allocation (const secp256k1_scratch *scratch, size_t objects)
 
static int secp256k1_scratch_allocate_frame (secp256k1_scratch *scratch, size_t n, size_t objects)
 
static void secp256k1_scratch_deallocate_frame (secp256k1_scratch *scratch)
 
static void * secp256k1_scratch_alloc (secp256k1_scratch *scratch, size_t size)
 

Macro Definition Documentation

◆ ALIGNMENT

Function Documentation

◆ secp256k1_scratch_alloc()

static void* secp256k1_scratch_alloc ( secp256k1_scratch scratch,
size_t  size 
)
static

◆ secp256k1_scratch_allocate_frame()

◆ secp256k1_scratch_create()

static secp256k1_scratch* secp256k1_scratch_create ( const secp256k1_callback error_callback,
size_t  max_size 
)
static

◆ secp256k1_scratch_deallocate_frame()

static void secp256k1_scratch_deallocate_frame ( secp256k1_scratch scratch)
static

◆ secp256k1_scratch_destroy()

static void secp256k1_scratch_destroy ( secp256k1_scratch scratch)
static

Definition at line 28 of file scratch_impl.h.

References secp256k1_scratch_space_struct::frame, and VERIFY_CHECK.

◆ secp256k1_scratch_max_allocation()

static size_t secp256k1_scratch_max_allocation ( const secp256k1_scratch scratch,
size_t  objects 
)
static
Released under the MIT license