fleaTLS   1.4
Memory configuration
Collaboration diagram for Memory configuration:

Macros

#define FLEA_HEAP_MODE
 

Detailed Description

Macro Definition Documentation

◆ FLEA_HEAP_MODE

#define FLEA_HEAP_MODE

Activate this flag to let fleaTLS make heap allocation for buffers (referred to as "heap mode").

In heap mode, fleaTLS' functions perform heap allocation for tempary variables and class-like types, and use stack memory only for small-sized buffers.

Deactivate this flag to let fleaTLS only use stack buffers (referred to as "stack mode"). In stack mode, fleaTLS does not perform any heap allocations and instead only uses the stack memory. This means that fleaTLS' functions and objects reserve stack space according to the configured algorithms and maximal key size definitions made in the build configuration.

Definition at line 63 of file build_config_gen.h.