]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: arch - conditionalize crypto api in arch glue for lib code
authorJason A. Donenfeld <Jason@zx2c4.com>
Mon, 25 Nov 2019 10:31:12 +0000 (11:31 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 27 Nov 2019 05:08:49 +0000 (13:08 +0800)
commitb5d3c6a3051c8ce2410f9d42ecdd79ac3cb675cf
treef6500eacc0aa2e818f39286ee59f3e106a4b6578
parent16f5cd99f4f91e56954c6f420a57e6d007b09cdf
crypto: arch - conditionalize crypto api in arch glue for lib code

For glue code that's used by Zinc, the actual Crypto API functions might
not necessarily exist, and don't need to exist either. Before this
patch, there are valid build configurations that lead to a unbuildable
kernel. This fixes it to conditionalize those symbols on the existence
of the proper config entry.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm/crypto/chacha-glue.c
arch/arm/crypto/curve25519-glue.c
arch/arm/crypto/poly1305-glue.c
arch/arm64/crypto/chacha-neon-glue.c
arch/arm64/crypto/poly1305-glue.c
arch/mips/crypto/chacha-glue.c
arch/mips/crypto/poly1305-glue.c
arch/x86/crypto/blake2s-glue.c
arch/x86/crypto/chacha_glue.c
arch/x86/crypto/curve25519-x86_64.c
arch/x86/crypto/poly1305_glue.c