secp256k1_scratch_space_struct

Opaque data structure that holds rewriteable "scratch space"

The purpose of this structure is to replace dynamic memory allocations, because we target architectures where this may not be available. It is essentially a resizable (within specified parameters) block of bytes, which is initially created either by memory allocation or TODO as a pointer into some fixed rewritable space.

Unlike the context object, this cannot safely be shared between threads without additional synchronization logic.

extern (C)
struct secp256k1_scratch_space_struct

Meta