Skip to content

Commit ba22e81

Browse files
committed
crypto: powerpc/chacha20,poly1305-p10 - Add dependency on VSX
Add dependency on VSX as otherwise the build will fail without it. Fixes: 161fca7 ("crypto: powerpc - Add chacha20/poly1305-p10 to Kconfig and Makefile") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Herbert Xu <[email protected]> Acked-by: Michael Ellerman <[email protected]> (powerpc) Signed-off-by: Herbert Xu <[email protected]>
1 parent 85b9bf9 commit ba22e81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/powerpc/crypto/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ config CRYPTO_AES_GCM_P10
113113

114114
config CRYPTO_CHACHA20_P10
115115
tristate "Ciphers: ChaCha20, XChacha20, XChacha12 (P10 or later)"
116-
depends on PPC64 && CPU_LITTLE_ENDIAN
116+
depends on PPC64 && CPU_LITTLE_ENDIAN && VSX
117117
select CRYPTO_SKCIPHER
118118
select CRYPTO_LIB_CHACHA_GENERIC
119119
select CRYPTO_ARCH_HAVE_LIB_CHACHA
@@ -127,7 +127,7 @@ config CRYPTO_CHACHA20_P10
127127

128128
config CRYPTO_POLY1305_P10
129129
tristate "Hash functions: Poly1305 (P10 or later)"
130-
depends on PPC64 && CPU_LITTLE_ENDIAN
130+
depends on PPC64 && CPU_LITTLE_ENDIAN && VSX
131131
select CRYPTO_HASH
132132
select CRYPTO_LIB_POLY1305_GENERIC
133133
help

0 commit comments

Comments
 (0)