mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
d540725871
Without this patch, the chacha block counter is not incremented on neon rounds, resulting in incorrect calculations and corrupt packets. This also switches to using `--no-numbered --zero-commit` so that future diffs are smaller. Reported-by: Hans Geiblinger <cybrnook2002@yahoo.com> Reviewed-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com> Cc: David Bauer <mail@david-bauer.net> Cc: Petr Štetiar <ynezz@true.cz> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
|
|
Date: Thu, 19 Mar 2020 11:56:17 -0600
|
|
Subject: [PATCH] crypto: arm[64]/poly1305 - add artifact to .gitignore files
|
|
|
|
commit 6e4e00d8b68ca7eb30d08afb740033e0d36abe55 upstream.
|
|
|
|
The .S_shipped yields a .S, and the pattern in these directories is to
|
|
add that to .gitignore so that git-status doesn't raise a fuss.
|
|
|
|
Fixes: a6b803b3ddc7 ("crypto: arm/poly1305 - incorporate OpenSSL/CRYPTOGAMS NEON implementation")
|
|
Fixes: f569ca164751 ("crypto: arm64/poly1305 - incorporate OpenSSL/CRYPTOGAMS NEON implementation")
|
|
Reported-by: Emil Renner Berthing <kernel@esmil.dk>
|
|
Cc: Ard Biesheuvel <ardb@kernel.org>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|
|
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
|
|
---
|
|
arch/arm/crypto/.gitignore | 1 +
|
|
arch/arm64/crypto/.gitignore | 1 +
|
|
2 files changed, 2 insertions(+)
|
|
|
|
--- a/arch/arm/crypto/.gitignore
|
|
+++ b/arch/arm/crypto/.gitignore
|
|
@@ -1,3 +1,4 @@
|
|
aesbs-core.S
|
|
sha256-core.S
|
|
sha512-core.S
|
|
+poly1305-core.S
|
|
--- a/arch/arm64/crypto/.gitignore
|
|
+++ b/arch/arm64/crypto/.gitignore
|
|
@@ -1,2 +1,3 @@
|
|
sha256-core.S
|
|
sha512-core.S
|
|
+poly1305-core.S
|