BLFS 64-bit system, based on current development book version.
Book recommands the following kernel options in order to compile cryptsteup:
Code:
Device Drivers --->[*] Multiple devices driver support (RAID and LVM) ---> [CONFIG_MD]
<*/M> Device mapper support [CONFIG_BLK_DEV_DM]
<*/M> Crypt target support [CONFIG_DM_CRYPT]
Cryptographic API --->
<*/M> XTS support [CONFIG_CRYPTO_XTS]
<*/M> SHA224 and SHA256 digest algorithm [CONFIG_CRYPTO_SHA256]
<*/M> AES cipher algorithms [CONFIG_CRYPTO_AES]
<*/M> AES cipher algorithms (x86_64) [CONFIG_CRYPTO_AES_X86_64]
<*/M> User-space interface for symmetric key cipher algorithms
[CONFIG_CRYPTO_USER_API_SKCIPHER]
For tests:
<*/M> Twofish cipher algorithm [CONFIG_CRYPTO_TWOFISH] Installa
One odd thing though: "AES cipher algorithms (x86_64)" doesn't exist. I was unable to find it to activate it. I edited the .config file directly, forcing a "[CONFIG_CRYPTO_AES_X86_64]" line in. Upon the next "make menuconfig" it was removed.
Does this exist? Or, instead, does it no longer exist in recent kernels and should be removed from the book?
Thank you.