[dm-devel] dm-crypt error when CONFIG_CRYPTO_AUTHENC is disabled

Thibaut Sautereau thibaut.sautereau at clip-os.org
Fri Sep 20 15:44:34 UTC 2019


Hi,

I just got a dm-crypt "crypt: Error allocating crypto tfm" error when
trying to "cryptsetup open" a volume. I found out that it was only
happening when I disabled CONFIG_CRYPTO_AUTHENC.

drivers/md/dm-crypt.c includes the crypto/authenc.h header and seems to
use some CRYPTO_AUTHENC-related stuff. Therefore, shouldn't
CONFIG_DM_CRYPT select CONFIG_CRYPTO_AUTHENC?

-- 
Thibaut Sautereau
CLIP OS developer




More information about the dm-devel mailing list