krypteia-silentops 0.2.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
10
11
12
// SPDX-License-Identifier: Apache-2.0
// Copyright 2026 Cédric Mesnil <cslashm@pm.me>

//! 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) {}