using aes-i586 instead of just aes
I'm running a Fedora 6 system. In setting up encryption for filesystems, I noticed there is a module for both aes and something called aes-586. Being curious, I found out that aes-586 is the same cipher, but implemented as i586 optimized assembly code. Coolness! But how do I use it instead of the standard module?
I'm currently using pam_mount to mount image files through a loopback driver. I believe this is using losetup in the background, but I'm not 100% sure on that. How can I get losetup (or any program) to use the aes-586 module instead of the regular one? Whatever program is using it is inserting the module itself... If I do a fresh boot, log in as root, and check lsmod, aes is not included. Once a regular user logs in and their home directory gets mounted, lsmod shows aes a loaded.