Bitcoin Core  0.20.99
P2P Digital Currency
Macros | Functions
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

#define ALIGNMENT   16

Definition at line 16 of file scratch_impl.h.

Function Documentation

◆ secp256k1_scratch_alloc()

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

Definition at line 71 of file scratch_impl.h.

◆ secp256k1_scratch_allocate_frame()

static int secp256k1_scratch_allocate_frame ( secp256k1_scratch scratch,
size_t  n,
size_t  objects 
)
static

Definition at line 47 of file scratch_impl.h.

Here is the call graph for this function:

◆ secp256k1_scratch_create()

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

Definition at line 18 of file scratch_impl.h.

Here is the call graph for this function:

◆ secp256k1_scratch_deallocate_frame()

static void secp256k1_scratch_deallocate_frame ( secp256k1_scratch scratch)
static

Definition at line 65 of file scratch_impl.h.

◆ secp256k1_scratch_destroy()

static void secp256k1_scratch_destroy ( secp256k1_scratch scratch)
static

Definition at line 28 of file scratch_impl.h.

◆ secp256k1_scratch_max_allocation()

static size_t secp256k1_scratch_max_allocation ( const secp256k1_scratch scratch,
size_t  objects 
)
static

Definition at line 35 of file scratch_impl.h.

Here is the caller graph for this function: