Go to the source code of this file.
◆ SECP256K1_SCRATCH_MAX_FRAMES
#define SECP256K1_SCRATCH_MAX_FRAMES 5 |
◆ secp256k1_scratch
◆ secp256k1_scratch_alloc()
Returns a pointer into the most recently allocated frame, or NULL if there is insufficient available space
◆ secp256k1_scratch_allocate_frame()
static int secp256k1_scratch_allocate_frame |
( |
secp256k1_scratch * |
scratch, |
|
|
size_t |
n, |
|
|
size_t |
objects |
|
) |
| |
|
static |
Attempts to allocate a new stack frame with n
available bytes. Returns 1 on success, 0 on failure
◆ secp256k1_scratch_create()
◆ secp256k1_scratch_deallocate_frame()
Deallocates a stack frame
◆ secp256k1_scratch_destroy()
◆ secp256k1_scratch_max_allocation()
static size_t secp256k1_scratch_max_allocation |
( |
const secp256k1_scratch * |
scratch, |
|
|
size_t |
n_objects |
|
) |
| |
|
static |
Returns the maximum allocation the scratch space will allow