From: Omar Sandoval Date: Mon, 10 Jul 2023 16:46:46 +0000 (-0700) Subject: powerpc/crypto: fix missing skcipher dependency for aes-gcm-p10 X-Git-Tag: v6.6.7~2033^2~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d6e1c21e1be4643628ee343e0b8d79828485ba2;p=platform%2Fkernel%2Flinux-starfive.git powerpc/crypto: fix missing skcipher dependency for aes-gcm-p10 My stripped down configuration fails to build with: ERROR: modpost: "skcipher_walk_aead_encrypt" [arch/powerpc/crypto/aes-gcm-p10-crypto.ko] undefined! ERROR: modpost: "skcipher_walk_done" [arch/powerpc/crypto/aes-gcm-p10-crypto.ko] undefined! ERROR: modpost: "skcipher_walk_aead_decrypt" [arch/powerpc/crypto/aes-gcm-p10-crypto.ko] undefined! Fix it by selecting CRYPTO_SKCIPHER. Signed-off-by: Omar Sandoval Signed-off-by: Michael Ellerman Link: https://msgid.link/c55ad70799e027a3d2756b85ccadc0af52ae8915.1689007370.git.osandov@osandov.com --- diff --git a/arch/powerpc/crypto/Kconfig b/arch/powerpc/crypto/Kconfig index ad18725..81ae015 100644 --- a/arch/powerpc/crypto/Kconfig +++ b/arch/powerpc/crypto/Kconfig @@ -100,6 +100,7 @@ config CRYPTO_AES_GCM_P10 select CRYPTO_LIB_AES select CRYPTO_ALGAPI select CRYPTO_AEAD + select CRYPTO_SKCIPHER default m help AEAD cipher: AES cipher algorithms (FIPS-197)