kernel: 5.4: import wireguard backport
[openwrt/openwrt.git] / target / linux / generic / backport-5.4 / 080-wireguard-0056-crypto-arm-64-poly1305-add-artifact-to-.gitignore-fi.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jason A. Donenfeld" <Jason@zx2c4.com>
3 Date: Thu, 19 Mar 2020 11:56:17 -0600
4 Subject: [PATCH] crypto: arm[64]/poly1305 - add artifact to .gitignore files
5
6 commit 6e4e00d8b68ca7eb30d08afb740033e0d36abe55 upstream.
7
8 The .S_shipped yields a .S, and the pattern in these directories is to
9 add that to .gitignore so that git-status doesn't raise a fuss.
10
11 Fixes: a6b803b3ddc7 ("crypto: arm/poly1305 - incorporate OpenSSL/CRYPTOGAMS NEON implementation")
12 Fixes: f569ca164751 ("crypto: arm64/poly1305 - incorporate OpenSSL/CRYPTOGAMS NEON implementation")
13 Reported-by: Emil Renner Berthing <kernel@esmil.dk>
14 Cc: Ard Biesheuvel <ardb@kernel.org>
15 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
16 Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
17 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
18 ---
19 arch/arm/crypto/.gitignore | 1 +
20 arch/arm64/crypto/.gitignore | 1 +
21 2 files changed, 2 insertions(+)
22
23 --- a/arch/arm/crypto/.gitignore
24 +++ b/arch/arm/crypto/.gitignore
25 @@ -1,3 +1,4 @@
26 aesbs-core.S
27 sha256-core.S
28 sha512-core.S
29 +poly1305-core.S
30 --- a/arch/arm64/crypto/.gitignore
31 +++ b/arch/arm64/crypto/.gitignore
32 @@ -1,2 +1,3 @@
33 sha256-core.S
34 sha512-core.S
35 +poly1305-core.S