Function liberate::sys::secure_memset

Function Documentation

void liberate::sys::secure_memset(void *buffer, size_t size, char value)

Platform-independent version of secure memset; ensures memset won’t be optimized out. Sets size amount of Bytes in the buffer to the character value given.

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

  • size[in] The size of the buffer.

  • value[in] The value to write into each byte of the buffer.