https://github.com/torvalds/linux
Revision d2eca20d77d9d42f3163a0a3d6ead75ee3635f99 authored by Russell King on 02 January 2014, 17:14:45 UTC, committed by Russell King on 05 January 2014, 13:59:56 UTC
Building a multi-arch kernel results in:

arch/arm/crypto/built-in.o: In function `aesbs_xts_decrypt':
sha1_glue.c:(.text+0x15c8): undefined reference to `bsaes_xts_decrypt'
arch/arm/crypto/built-in.o: In function `aesbs_xts_encrypt':
sha1_glue.c:(.text+0x1664): undefined reference to `bsaes_xts_encrypt'
arch/arm/crypto/built-in.o: In function `aesbs_ctr_encrypt':
sha1_glue.c:(.text+0x184c): undefined reference to `bsaes_ctr32_encrypt_blocks'
arch/arm/crypto/built-in.o: In function `aesbs_cbc_decrypt':
sha1_glue.c:(.text+0x19b4): undefined reference to `bsaes_cbc_encrypt'

This code is already runtime-conditional on NEON being supported, so
there's no point compiling it out depending on the minimum build
architecture.

Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent efea340
History
Tip revision: d2eca20d77d9d42f3163a0a3d6ead75ee3635f99 authored by Russell King on 02 January 2014, 17:14:45 UTC
CRYPTO: Fix more AES build errors
Tip revision: d2eca20

back to top