Nettle: Enable AES-NI instructions on amd64.
Bug #1624485 reported by
David Korth
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nettle (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Low
|
Unassigned | ||
Focal |
Confirmed
|
Low
|
Unassigned |
Bug Description
The current build of libnettle6 does not have AES-NI enabled. There's two configure options for enabling it:
--enable-x86-aesni: Use AES-NI instructions instead of the standard implementation. This will break on systems that don't have AES-NI.
--enable-fat: Build a "fat" library that has the standard implementation and the AES-NI implementation. This allows the library to continue working on older systems while providing faster performance on systems that have AES-NI.
Note that Nettle's AES-NI implementation as of v3.2 is only supported on amd64, not i386, so this would only affect the 64-bit package.
To post a comment you must log in.
There's also SHA* acceleration in --enable-fat and some 32-bit ARM assembler IIRC. In pure crypto the speedup can be quite significant (like 5x in one of my tests).