Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
287
macro_rules! impl_zeroize_with_default {
Callers
4
bench_slices
Function · 0.45
clone_from
Method · 0.45
drop
Method · 0.45
zeroize_or_on_drop
Method · 0.45
Calls
6
volatile_write
Function · 0.85
default
Function · 0.85
zeroize_byte_ptr
Function · 0.85
fill_slice
Function · 0.85
expect
Method · 0.80
as_mut
Method · 0.45
Tested by
no test coverage detected