From 0d0acd8f42cc61ad101f477c9107d3476ab11aeb Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Mon, 3 May 2021 11:13:16 -0700 Subject: [PATCH] Add unmaintained crate advisory for `aesni` (#893) --- crates/aesni/RUSTSEC-0000-0000.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 crates/aesni/RUSTSEC-0000-0000.md diff --git a/crates/aesni/RUSTSEC-0000-0000.md b/crates/aesni/RUSTSEC-0000-0000.md new file mode 100644 index 0000000..42fcbf9 --- /dev/null +++ b/crates/aesni/RUSTSEC-0000-0000.md @@ -0,0 +1,31 @@ +```toml +[advisory] +id = "RUSTSEC-0000-0000" +package = "aesni" +date = "2021-04-29" +informational = "unmaintained" +url = "https://github.com/RustCrypto/block-ciphers/pull/200" + +[versions] +patched = [] +unaffected = [] +``` + +# merged into the `aes` crate + +The `aesni` crate has been merged into the `aes` crate. The new repository +location is at: + + + +AES-NI is now autodetected at runtime on `i686`/`x86-64` platforms. +If AES-NI is not present, the `aes` crate will fallback to a constant-time +portable software implementation. + +To prevent this fallback (and have absence of AES-NI result in an illegal +instruction crash instead), continue to pass the same RUSTFLAGS which were +previously required for the `aesni` crate to compile: + +``` +RUSTFLAGS=-Ctarget-feature=+aes,+ssse3 +```