Re: [PATCH] AES i586 optimized

From: Fruhwirth Clemens
Date: Thu May 13 2004 - 07:36:56 EST


On Thu, May 13, 2004 at 04:07:32AM -0700, Andrew Morton wrote:

> > The following patch adds an i586 optimized implementation of AES aka
> > Rijndael. It's following an integration strategy similiar to recent
> > s390/z990 integration for DES/SHA1. aes-i586-glue.c, a glue layer for
> > CryptoAPI, and aes-i586-asm.S, the actual implementation, are added to
> > arch/i386/crypto, as well as a config section to crypto/Kconfig.
>
> Some benchmark figures would be useful. Cache-cold and cache-hot.

In addition to my last mail: It recurred to me that Christian Kujau
benchmarked this patch already.

aes, C impl.,
http://nerdbynature.de/bench/prinz/2.6.0-test6/crypto/test_1/prinz-2.6.0-test6-aes.txt
aes-i586,
http://nerdbynature.de/bench/prinz/2.6.0-test6/crypto/test_2/prinz-2.6.0-test6-aes.txt

20% - 50% throughput gain. Avg. latency is also much better.

Just for reference: http://nerdbynature.de/bench/prinz/readme.txt

Regards, Clemens

Attachment: pgp00000.pgp
Description: PGP signature