From a331fdd76e831af2fb8facf941e9eadc1174706a Mon Sep 17 00:00:00 2001 From: Guillume DIDIER Date: Thu, 22 Oct 2020 14:49:09 +0200 Subject: [PATCH] Add a crate meant to one day factorize some common code to timing side channels --- basic_timing_cache_channel/Cargo.toml | 9 +++++++++ basic_timing_cache_channel/src/lib.rs | 15 +++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 basic_timing_cache_channel/Cargo.toml create mode 100644 basic_timing_cache_channel/src/lib.rs diff --git a/basic_timing_cache_channel/Cargo.toml b/basic_timing_cache_channel/Cargo.toml new file mode 100644 index 0000000..a79df65 --- /dev/null +++ b/basic_timing_cache_channel/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "basic_timing_cache_channel" +version = "0.1.0" +authors = ["GuillaumeDIDIER "] +edition = "2018" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/basic_timing_cache_channel/src/lib.rs b/basic_timing_cache_channel/src/lib.rs new file mode 100644 index 0000000..3643037 --- /dev/null +++ b/basic_timing_cache_channel/src/lib.rs @@ -0,0 +1,15 @@ +// TODO + +// Common logic for the ability to calibrate along slices +// Core issues should be orthogonal +// Extend to multithread ? + +// Should be used by F+F and non Naive F+R + +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +}