![]() |
Bitcoin Core 31.1.0
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
| struct | secp256k1_scratch_space_struct |
Typedefs | |
| typedef struct secp256k1_scratch_space_struct | secp256k1_scratch |
| typedef struct secp256k1_scratch_space_struct | secp256k1_scratch_space |
Functions | |
| static secp256k1_scratch * | secp256k1_scratch_create (const secp256k1_callback *error_callback, size_t max_size) |
| static void | secp256k1_scratch_destroy (const secp256k1_callback *error_callback, secp256k1_scratch *scratch) |
| static size_t | secp256k1_scratch_checkpoint (const secp256k1_callback *error_callback, const secp256k1_scratch *scratch) |
| Returns an opaque object used to "checkpoint" a scratch space. | |
| static void | secp256k1_scratch_apply_checkpoint (const secp256k1_callback *error_callback, secp256k1_scratch *scratch, size_t checkpoint) |
| Applies a check point received from secp256k1_scratch_checkpoint, undoing all allocations since that point. | |
| static size_t | secp256k1_scratch_max_allocation (const secp256k1_callback *error_callback, const secp256k1_scratch *scratch, size_t n_objects) |
| Returns the maximum allocation the scratch space will allow. | |
| static void * | secp256k1_scratch_alloc (const secp256k1_callback *error_callback, secp256k1_scratch *scratch, size_t n) |
| Returns a pointer into the most recently allocated frame, or NULL if there is insufficient available space. | |
| typedef struct secp256k1_scratch_space_struct secp256k1_scratch |
| typedef struct secp256k1_scratch_space_struct secp256k1_scratch_space |
|
static |
Returns a pointer into the most recently allocated frame, or NULL if there is insufficient available space.
|
static |
Applies a check point received from secp256k1_scratch_checkpoint, undoing all allocations since that point.
|
static |
Returns an opaque object used to "checkpoint" a scratch space.
Used with secp256k1_scratch_apply_checkpoint to undo allocations.
|
static |
|
static |
|
static |
Returns the maximum allocation the scratch space will allow.