CRYPTO_secure_used

Return how many bytes are currently allocated from the secure heap.

Synopsis

Declared in <openssl/crypto.h>

size_t
CRYPTO_secure_used();

Return Value

Total secure-heap bytes in use, or 0 if the secure heap is not initialised.