Skip to contentSkip to conversation

crypto: arm/aesbs - Select SIMD in Kconfig

PATCH In review Arnd Bergmann 2 participants 3 messages Nov 30, 2016 – Dec 1, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: arm/aesbs - Select SIMD in Kconfig

Commit 585b5fa63da9 ("crypto: arm/aes - Select SIMD in Kconfig") added the dependency for CRYPTO_AES_ARM_CE, but missed the same change for CRYPTO_AES_ARM_BS:

arch/arm/crypto/aes-arm-bs.o: In function `aesbs_mod_init':
aesbs-glue.c:(.init.text+0x38): undefined reference to `simd_skcipher_create_compat'

Fixes 211f41af534a ("crypto: aesbs - Convert to skcipher")
---
 arch/arm/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)
arch/arm/crypto/Kconfig +1 -0
index 81348883450d..3251d385fddb 100644
@@ -91,6 +91,7 @@ config CRYPTO_AES_ARM_BS
 	select CRYPTO_ALGAPI
 	select CRYPTO_AES_ARM
 	select CRYPTO_ABLK_HELPER
+	select CRYPTO_SIMD
 	help
 	  Use a faster and more secure NEON based implementation of AES in CBC,
 	  CTR and XTS modes
Signature · 1 line
2.9.0
maintainer
#1 lore raw
Quoted 9 lines · Arnd Bergmann

Commit 585b5fa63da9 ("crypto: arm/aes - Select SIMD in Kconfig") added the dependency for CRYPTO_AES_ARM_CE, but missed the same change for CRYPTO_AES_ARM_BS:

arch/arm/crypto/aes-arm-bs.o: In function `aesbs_mod_init':
aesbs-glue.c:(.init.text+0x38): undefined reference to `simd_skcipher_create_compat'

Fixes 211f41af534a ("crypto: aesbs - Convert to skcipher")

Thanks Arnd. This should already be fixed by 6fdf436fd854.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#2 lore raw
Quoted 5 lines · CET Herbert Xu
Quoted 4 lines · Arnd Bergmann

Commit 585b5fa63da9 ("crypto: arm/aes - Select SIMD in Kconfig") added the dependency for CRYPTO_AES_ARM_CE, but missed the same change for CRYPTO_AES_ARM_BS:

Quoted 7 lines
Quoted 5 lines

arch/arm/crypto/aes-arm-bs.o: In function `aesbs_mod_init':
aesbs-glue.c:(.init.text+0x38): undefined reference to `simd_skcipher_create_compat'

Fixes 211f41af534a ("crypto: aesbs - Convert to skcipher")

Thanks Arnd. This should already be fixed by 6fdf436fd854.

Right. I have discarded my patch on today's linux-next and I get no more link errors.

Arnd