{"id":"RUSTSEC-2021-0059","aliases":["RUSTSEC-2021-0059"],"related":[],"kind":"vulnerability","state":"published","title":"`aesni` has been merged into the `aes` crate","summary":"Please use the `aes` crate going forward. The new repository location is at:\n\n<https://github.com/RustCrypto/block-ciphers/tree/master/aes>\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```","summaryFormat":"markdown","summarySource":"rustsec","descriptions":[{"lang":"en","text":"Please use the `aes` crate going forward. The new repository location is at:\n\n<https://github.com/RustCrypto/block-ciphers/tree/master/aes>\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```","format":"markdown","source":"rustsec"}],"published":"2021-04-29T12:00:00.000Z","modified":"2021-05-04T01:28:43.000Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"aesni","purl":"pkg:cargo/aesni","source":"rustsec"}],"references":[{"url":"https://crates.io/crates/aesni","tags":["package"],"sources":["rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0059.html","tags":["advisory"],"sources":["rustsec"]},{"url":"https://github.com/RustCrypto/block-ciphers/pull/200","tags":["web"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0059","url":"https://rustsec.org/advisories/RUSTSEC-2021-0059.html","licence":"CC0-1.0","modified":"2021-05-04T01:28:43.000Z"}],"updatedAt":"2026-11-25T22:56:43.039Z"}