Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RustCrypto/utils
/ zeroize
Method
zeroize
zeroize/src/lib.rs:274–277 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
272
Z: DefaultIsZeroes,
273
{
274
fn zeroize(&mut self) {
275
volatile_write(self, Z::default());
276
optimization_barrier(self);
277
}
278
}
279
280
macro_rules! impl_zeroize_with_default {
Callers
3
clone_from
Method · 0.45
drop
Method · 0.45
zeroize_or_on_drop
Method · 0.45
Calls
7
volatile_write
Function · 0.85
default
Function · 0.85
optimization_barrier
Function · 0.85
volatile_set
Function · 0.85
expect
Method · 0.80
len
Method · 0.80
as_mut
Method · 0.45
Tested by
no test coverage detected