krypteia-silentops 0.1.0

Side-channel countermeasure toolkit: constant-time primitives, dudect-style timing leakage verifier, and shared SCA helpers for the krypteia workspace.
Documentation
1
2
3
4
5
6
7
8
9
//! No-op backend used when the `ct-grind` feature is disabled or the
//! target is not an architecture Valgrind understands. All functions
//! have bodies that the optimizer removes entirely.

#[inline(always)]
pub(super) unsafe fn make_mem_undefined(_ptr: *const u8, _len: usize) {}

#[inline(always)]
pub(super) unsafe fn make_mem_defined(_ptr: *const u8, _len: usize) {}