What happend to aes586?
Bryn M. Reeves
bmr at redhat.com
Tue Aug 2 10:45:06 UTC 2011
On 08/02/2011 02:49 AM, James Matthews wrote:
> You can find it here
>
> http://www.opensource.apple.com/source/OpenSSL098/OpenSSL098-35/src/crypto/aes/asm/aes-586.pl
>
> It has it's asm inline but be wary of any encryption algo and always confirm
> that it is the right thing (by comparing the bytes of other implementations.
Similar name but that's not the same thing - this is part of the OpenSSL project.
The module Clemens was asking about is a kernel module that provides
arch-specific acceleration for the in-kernel crypto API.
> On Sun, Jul 31, 2011 at 6:25 PM, Clemens Eisserer <linuxhippy at gmail.com
> A few times AES586 is mentioned beeing a hand optimized assembler version of
> the generic AES module, but I wasn't able to find it. Is it not part of the
> Fedora15 default kernel, or has it been removed from vanilla as well?
It was there as a module in the f15 GA i686 kernel package:
$ rpm -qlp /tmp/kernel-2.6.38.6-26.rc1.fc15.i686.rpm|grep aes-i586
/lib/modules/2.6.38.6-26.rc1.fc15.i686/kernel/arch/x86/crypto/aes-i586.ko
But the equivalent on x86_64 was a built-in:
$ grep AES_X86_64 /boot/config-2.6.38.8-35.fc15.x86_64
CONFIG_CRYPTO_AES_X86_64=y
This was changed in an f15 update:
* Wed Jun 15 2011 Kyle McMartin <kmcmartin at redhat.com>
- Build in aesni-intel on i686 for symmetry with 64-bit.
So the functionality is still there, it's just not built as a module any more.
Regards,
Bryn.
More information about the users
mailing list