[pkg-cryptsetup-devel] Bug#714326: cryptsetup: cryptroot aesni

Christoph Anton Mitterer calestyo at scientia.net
Thu Jun 27 23:26:25 UTC 2013


Package: cryptsetup
Version: 2:1.4.3-4
Severity: normal


Hi.

In the cryptroot hook script:

1) Shouldn't the check for the AES cpu feature be better:
grep -q '^flags[[:space:]]*:[[:space:]]*.*aes /proc/cpuinfo
or something similar that makes sure just the flags line are checked?

2) If found it does
                if cpu_has_aesni; then
                        echo aesni
                fi
So the aesni module is copied to the initrd, right?
But does such module still exist? I at least only have aesni_intel.
Or is there some modules magic that takes the right aesni modules for the platform?


Cheers,
Chris.



More information about the pkg-cryptsetup-devel mailing list