How to handle the multiple aes variants on i386?

Adrian Bunk
2005-03-03T15:08:09Z

On Wed, Mar 02, 2005 at 05:49:26PM -0500, Jeff Garzik wrote:
> Adrian Bunk wrote:
> >On Wed, Mar 02, 2005 at 05:41:50PM -0500, Jeff Garzik wrote:
>...
> >>Not really that easy. For x86 we have
> >>
> >> aes
> >> aes-586
> >> aes-via
> >
> >
> >Where is aes-via?
>
> drivers/crypto
>
>
> >>And my own personal custom-kernel preference is to use the C version of
> >>the code on my x86 and x86-64 boxes.
> >
> >
> >That's already not possible today.
>
> It should be.

OK, rethinking about it, your arguments sound reasonable.

Could anyone explain, what exactly happens if multiple "aes" algorithms
are compiled into the kernel?

Choosing between the i386 asm and the generic versions seems easy, bug
the VIA Padlock case sounds more tricky since it works only on a subset
of the i386 architecture.

> Jeff

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed