Skip to content

RUSTSEC-2021-0059 `aesni` has been merged into the `aes` crate

Unknown
Published
Updated
Exploit status
No public exploit known

Description

Please use the aes crate going forward. 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

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
crates.io aesni(crates.io) >= 0.0.0-0 No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
crates.io aesni(crates.io) >= 0.0.0-0 No fix listed

References