Skip to main content

Crate lib_q_sca_test

Crate lib_q_sca_test 

Source
Expand description

Statistical helpers for TVLA-style and timing-based leakage smoke tests.

Modules§

dudect
Wall-clock timing harness in the spirit of dudect (software timing leakage probes).
evaluation
Trace acquisition hooks for TVLA-style screening (first-order Welch t-test).
privacy_workloads
Deterministic workloads for TVLA/timing harnesses over privacy-protocol code paths.
tvla_synthetic
Synthetic “trace” vectors for TVLA harness smoke tests (no acquisition hardware).

Structs§

TvlaConfig
Configuration for TVLA-style t-tests.

Functions§

sample_wall_times
Collect n timing samples using std::time::Instant (wall clock).
tvla_passes
Returns true if \(|t| < \) cfg.abs_t_threshold.
welch_t_statistic
Welch’s t-statistic for two samples (unequal variances).