[−][src]Function keynesis::memsec::memset
pub unsafe fn memset(dst: *mut u8, val: u8, count: usize)
Perform a secure memset. This function is guaranteed not to be elided or reordered.
Performance consideration
On nightly
, the function use a more efficient.
Safety
The destination memory (dst
to dst+count
) must be properly allocated
and ready to use.