Skip to content

Enable AES-NI support

Yorick Peterse requested to merge aes-ni into master

AES-NI can only be reliably enabled using RUSTFLAGS. Using .cargo/config does not appear to work, and wouldn't allow conditionally enabling it. Using a Makefile makes it possible for users to disable (or forcefully enable) AES-NI support where necessary.

By enabling AES-NI support, hashing should be faster as aHash makes use of these instructions when available.

Merge request reports