]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: atmel - Fix selection of CRYPTO_AUTHENC
authorTudor Ambarus <tudor.ambarus@microchip.com>
Fri, 1 Nov 2019 16:40:37 +0000 (16:40 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Nov 2019 15:15:53 +0000 (23:15 +0800)
commite456618bd377c333f3cb8ae16d758f6cf86199c2
tree5ad3c607ef9298f29c47f539c39cb87ca95ca679
parent96a23b95c2ddf56186faece8a8b78d5defd0635b
crypto: atmel - Fix selection of CRYPTO_AUTHENC

The following error is raised when CONFIG_CRYPTO_DEV_ATMEL_AES=y and
CONFIG_CRYPTO_DEV_ATMEL_AUTHENC=m:
drivers/crypto/atmel-aes.o: In function `atmel_aes_authenc_setkey':
atmel-aes.c:(.text+0x9bc): undefined reference to `crypto_authenc_extractkeys'
Makefile:1094: recipe for target 'vmlinux' failed

Fix it by moving the selection of CRYPTO_AUTHENC under
config CRYPTO_DEV_ATMEL_AES.

Fixes: 3a6e8fa924bb ("crypto: atmel-authenc - add support to...")
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig