]> 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)
commitee798de61c351d765c5d8de9f5c25ad7d7a58e4b
treef6500eacc0aa2e818f39286ee59f3e106a4b6578
parentfd982e33732ad40f7582bfbee9185df883823374
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