2006-03-20 07:58:12

by Matt LaPlante

[permalink] [raw]
Subject: 2.6.16: Two AES Options

Hi All,
I just downloaded the new 2.6.16 (very exciting!), and noticed something
odd in my menuconfig. I was updating from a 2.4.15.4 config, when I noticed
that under cryptographic options I now have two AES entries... I double
checked, and this occurs whether I use make oldconfig or make menuconfig on
the .15 file:

x x --- Cryptographic API
x x
...
x x < > AES cipher algorithms
x x
x x < > AES cipher algorithms (i586)
x x
...
x x Hardware crypto devices --->

Both entries have identical descriptions, yet one has the symbol
CRYPTO_AES_586 and (the new one) is just CRYPTO_AES. I have no way of
knowing if this is intentional or a bug, but if it's the former it would
seem it deserves a different help text so folks like me know which to
choose.

-
Matt LaPlante




2006-03-20 08:12:23

by Paolo Ornati

[permalink] [raw]
Subject: Re: 2.6.16: Two AES Options

On Mon, 20 Mar 2006 02:57:38 -0500
"Matt LaPlante" <[email protected]> wrote:

> x x < > AES cipher algorithms

This one is generic (crypto/aes.c).

> x x
> x x < > AES cipher algorithms (i586)

This one is written in assembly (arch/i386/crypto/...) and optimized
for i586+ processors.

So the second one should be faster...

--
Paolo Ornati
Linux 2.6.16 on x86_64