{"id":"RUSTSEC-2021-0059","aliases":[],"status":"published","title":"`aesni` has been merged into the `aes` crate","description":"Please use the `aes` crate going forward. The new repository location is at:\n\n\u003chttps://github.com/RustCrypto/block-ciphers/tree/master/aes\u003e\n\nAES-NI is now autodetected at runtime on `i686`/`x86-64` platforms.\nIf AES-NI is not present, the `aes` crate will fallback to a constant-time\nportable software implementation.\n\nTo prevent this fallback (and have absence of AES-NI result in an illegal\ninstruction crash instead), continue to pass the same RUSTFLAGS which were\npreviously required for the `aesni` crate to compile:\n\n```\nRUSTFLAGS=-Ctarget-feature=+aes,+ssse3\n```","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2021-04-29T12:00:00Z","modified":"2021-05-04T01:28:43Z","affected":[{"source":"osv","ecosystem":"crates.io","package":"aesni","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}]}],"references":[{"url":"https://crates.io/crates/aesni","tags":["package"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0059.html","tags":["advisory"]},{"url":"https://github.com/RustCrypto/block-ciphers/pull/200","tags":["web"]}],"sources":{"osv":[{"id":"RUSTSEC-2021-0059","title":"`aesni` has been merged into the `aes` crate","description":"Please use the `aes` crate going forward. The new repository location is at:\n\n\u003chttps://github.com/RustCrypto/block-ciphers/tree/master/aes\u003e\n\nAES-NI is now autodetected at runtime on `i686`/`x86-64` platforms.\nIf AES-NI is not present, the `aes` crate will fallback to a constant-time\nportable software implementation.\n\nTo prevent this fallback (and have absence of AES-NI result in an illegal\ninstruction crash instead), continue to pass the same RUSTFLAGS which were\npreviously required for the `aesni` crate to compile:\n\n```\nRUSTFLAGS=-Ctarget-feature=+aes,+ssse3\n```","status":"published","published":"2021-04-29T12:00:00Z","modified":"2021-05-04T01:28:43Z","updated_at":"2026-11-02T15:53:39.492624Z"}]}}
