Add unmaintained crate advisory for aesni (#893)

This commit is contained in:
Tony Arcieri
2021-05-03 11:13:16 -07:00
committed by GitHub
parent c91631243e
commit 0d0acd8f42

View File

@@ -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:
<https://github.com/RustCrypto/block-ciphers/tree/master/aes>
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
```