MCPcopy Create free account
hub / github.com/RustCrypto/utils / zeroize

Method zeroize

zeroize/src/lib.rs:282–284  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

280 Z: DefaultIsZeroes,
281{
282 fn zeroize(&mut self) {
283 volatile_write(self, Z::default());
284 }
285}
286
287macro_rules! impl_zeroize_with_default {

Callers 4

bench_slicesFunction · 0.45
clone_fromMethod · 0.45
dropMethod · 0.45
zeroize_or_on_dropMethod · 0.45

Calls 6

volatile_writeFunction · 0.85
defaultFunction · 0.85
zeroize_byte_ptrFunction · 0.85
fill_sliceFunction · 0.85
expectMethod · 0.80
as_mutMethod · 0.45

Tested by

no test coverage detected