Comment 17 for bug 73862

Revision history for this message
Pär Lindfors (paran) wrote :

> I can confirm that this is not the case, as I do use such a setup in my
> laptop. lsmod only shows aes, but not aes-i586.

Sorry, I was mistaken.

> It would probably pop up if I had entered it in /etc/modules, but since
> we cannot modify that file easily (you would need some magic to detect
> the architecture and module name and stuff), it would be really great if
> this wasn't really necessary.

I think a better solution would be to create /etc/modprobe.d/cryptsetup and let it contain (on amd64):
alias aes aes_x86_64
alias twofish twofish_x86_64
...

That would set the asm optimized modules as default.

However we could look into this for hardy. The version that have now been included in gutsy will work fine and will give most users of encrypted disks a nice speed boost. :-)