From 3b85161eb22e4dbc33a2479bfd33cc2202461891 Mon Sep 17 00:00:00 2001 From: Guillume DIDIER Date: Thu, 10 Jun 2021 11:16:09 +0200 Subject: [PATCH] Rust nightly update - aes-t-tables Ensure it compiles with the newer nightly. --- aes-t-tables/Cargo.toml | 10 +++++----- aes-t-tables/src/lib.rs | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/aes-t-tables/Cargo.toml b/aes-t-tables/Cargo.toml index 60fc705..cf6d841 100644 --- a/aes-t-tables/Cargo.toml +++ b/aes-t-tables/Cargo.toml @@ -7,12 +7,12 @@ edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -openssl-sys = "0.9.58" -openssl = "0.10.30" +openssl-sys = "0.9.61" +openssl = "0.10.33" cache_utils = { path = "../cache_utils" } -memmap2 = "0.1.0" -rand = "0.7.3" -nix = "0.18.0" +memmap2 = "0.2.1" +rand = "0.8.3" +nix = "0.20.0" cache_side_channel = { path = "../cache_side_channel" } flush_flush = { path = "../flush_flush" } flush_reload = { path = "../flush_reload" } diff --git a/aes-t-tables/src/lib.rs b/aes-t-tables/src/lib.rs index 7752014..1c211a1 100644 --- a/aes-t-tables/src/lib.rs +++ b/aes-t-tables/src/lib.rs @@ -59,7 +59,7 @@ pub unsafe fn attack_t_tables_poc( parameters: AESTTableParams, name: &str, ) { - let old_affinity = set_affinity(&side_channel.main_core()); + let old_affinity = set_affinity(&side_channel.main_core()).unwrap(); // Note : This function doesn't handle the case where the address space is not shared. (Additionally you have the issue of complicated eviction sets due to complex addressing) // TODO