Function liberate::sys::secure_memzero

Function Documentation

void liberate::sys::secure_memzero(void *buffer, size_t size)

Platform-independent version for secure memory clearing (setting to zero). This may be a bit different than the above function, in that some platforms explicitly provide functions for this purpose. If you want to clear memory, use this function.

Parameters
  • buffer[inout] The buffer to write to.

  • size[in] The size of the buffer.