1 From 6ae9f0d421af5145d457c51abe2b704ebb297a17 Mon Sep 17 00:00:00 2001
2 From: Fabio Estevam <festevam@gmail.com>
3 Date: Mon, 24 Aug 2020 11:09:53 -0300
4 Subject: [PATCH 061/124] crypto: arm/curve25519 - include
7 commit 6779d0e6b0fe193ab3010ea201782ca6f75a3862 upstream.
9 Building ARM allmodconfig leads to the following warnings:
11 arch/arm/crypto/curve25519-glue.c:73:12: error: implicit declaration of function 'sg_copy_to_buffer' [-Werror=implicit-function-declaration]
12 arch/arm/crypto/curve25519-glue.c:74:9: error: implicit declaration of function 'sg_nents_for_len' [-Werror=implicit-function-declaration]
13 arch/arm/crypto/curve25519-glue.c:88:11: error: implicit declaration of function 'sg_copy_from_buffer' [-Werror=implicit-function-declaration]
15 Include <linux/scatterlist.h> to fix such warnings
17 Reported-by: Olof's autobuilder <build@lixom.net>
18 Fixes: 0c3dc787a62a ("crypto: algapi - Remove skbuff.h inclusion")
19 Signed-off-by: Fabio Estevam <festevam@gmail.com>
20 Acked-by: Ard Biesheuvel <ardb@kernel.org>
21 Acked-by: Jason A. Donenfeld <Jason@zx2c4.com>
22 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
23 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
25 arch/arm/crypto/curve25519-glue.c | 1 +
26 1 file changed, 1 insertion(+)
28 --- a/arch/arm/crypto/curve25519-glue.c
29 +++ b/arch/arm/crypto/curve25519-glue.c
31 #include <linux/module.h>
32 #include <linux/init.h>
33 #include <linux/jump_label.h>
34 +#include <linux/scatterlist.h>
35 #include <crypto/curve25519.h>
37 asmlinkage void curve25519_neon(u8 mypublic[CURVE25519_KEY_SIZE],