powerpc/crypto: fix missing skcipher dependency for aes-gcm-p10
authorOmar Sandoval <osandov@fb.com>
Mon, 10 Jul 2023 16:46:46 +0000 (09:46 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 2 Aug 2023 12:22:18 +0000 (22:22 +1000)
commit9d6e1c21e1be4643628ee343e0b8d79828485ba2
tree00f5b59a2c5853264f2742966e802fc2ed0f744c
parent3a24ea0df83e32355d897a18bbd82e05986dcdc3
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 <osandov@fb.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/c55ad70799e027a3d2756b85ccadc0af52ae8915.1689007370.git.osandov@osandov.com
arch/powerpc/crypto/Kconfig