Hi,
I've recently switched to dmcrypt with aes cipher, which works quite well except for beeing a little bit slow (~40mb/s read/write), where even weaker CPUs in an old comparison I found yield ~60-80mb/s.
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?
Thank you in advance, Clemens
You can find it here
http://www.opensource.apple.com/source/OpenSSL098/OpenSSL098-35/src/crypto/a...
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.
)
James
On Sun, Jul 31, 2011 at 6:25 PM, Clemens Eisserer linuxhippy@gmail.comwrote:
Hi,
I've recently switched to dmcrypt with aes cipher, which works quite well except for beeing a little bit slow (~40mb/s read/write), where even weaker CPUs in an old comparison I found yield ~60-80mb/s.
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?
Thank you in advance, Clemens
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
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/a...
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@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@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.