secp256k1_context_preallocated_size

Determine the memory size of a secp256k1 context object to be created in caller-provided memory.

The purpose of this function is to determine how much memory must be provided to secp256k1_context_preallocated_create.

extern (C)
size_t
secp256k1_context_preallocated_size
(
uint flags
)

Return Value

Type: size_t

the required size of the caller-provided memory block In: flags: which parts of the context to initialize.

Meta