Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1533677 > unrolled thread

[PATCH] crypto: arm/aesbs - Select SIMD in Kconfig

Started byArnd Bergmann <arnd@arndb.de>
First post2016-12-01 00:50 +0100
Last post2016-12-01 14:50 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] crypto: arm/aesbs - Select SIMD in Kconfig Arnd Bergmann <arnd@arndb.de> - 2016-12-01 00:50 +0100
    Re: [PATCH] crypto: arm/aesbs - Select SIMD in Kconfig Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-01 14:00 +0100
      Re: [PATCH] crypto: arm/aesbs - Select SIMD in Kconfig Arnd Bergmann <arnd@arndb.de> - 2016-12-01 14:50 +0100

#1533677 — [PATCH] crypto: arm/aesbs - Select SIMD in Kconfig

FromArnd Bergmann <arnd@arndb.de>
Date2016-12-01 00:50 +0100
Subject[PATCH] crypto: arm/aesbs - Select SIMD in Kconfig
Message-ID<sJmNr-4n7-1@gated-at.bofh.it>
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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 arch/arm/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/crypto/Kconfig b/arch/arm/crypto/Kconfig
index 81348883450d..3251d385fddb 100644
--- a/arch/arm/crypto/Kconfig
+++ b/arch/arm/crypto/Kconfig
@@ -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
-- 
2.9.0

[toc] | [next] | [standalone]


#1534068

FromHerbert Xu <herbert@gondor.apana.org.au>
Date2016-12-01 14:00 +0100
Message-ID<sJz7Y-3YF-7@gated-at.bofh.it>
In reply to#1533677
On Thu, Dec 01, 2016 at 12:47:59AM +0100, Arnd Bergmann wrote:
> 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")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thanks Arnd.  This should already be fixed by 6fdf436fd854.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[toc] | [prev] | [next] | [standalone]


#1534100

FromArnd Bergmann <arnd@arndb.de>
Date2016-12-01 14:50 +0100
Message-ID<sJzUl-4u2-19@gated-at.bofh.it>
In reply to#1534068
On Thursday, December 1, 2016 8:56:16 PM CET Herbert Xu wrote:
> On Thu, Dec 01, 2016 at 12:47:59AM +0100, Arnd Bergmann wrote:
> > 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")
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> 
> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web