pub unsafe extern "C" fn OQS_MEM_cleanse(ptr: *mut c_void, len: usize)
Expand description

Zeros out len bytes of memory starting at ptr.

Designed to be protected against optimizing compilers which try to remove “unnecessary” operations. Should be used for all buffers containing secret data.

@param[in] ptr The start of the memory to zero out. @param[in] len The number of bytes to zero out.