lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri,  4 Aug 2023 14:30:43 +0800
From:   Yonggang Wu <wuyonggang001@...suo.com>
To:     herbert@...dor.apana.org.au, davem@...emloft.net
Cc:     linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
        Yonggang Wu <wuyonggang001@...suo.com>
Subject: [PATCH] lib: crypto: Modify format error

Fix the error(s):
space prohibited after that open square bracket '['

Signed-off-by: Yonggang Wu <wuyonggang001@...suo.com>
---
 lib/crypto/gf128mul.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/crypto/gf128mul.c b/lib/crypto/gf128mul.c
index 8f8c45e0cdcf..96ef5f312911 100644
--- a/lib/crypto/gf128mul.c
+++ b/lib/crypto/gf128mul.c
@@ -208,11 +208,11 @@ void gf128mul_lle(be128 *r, const be128 *b)
 	for (i = 0;;) {
 		u8 ch = ((u8 *)b)[15 - i];
 
-		be128_xor(r, r, &p[ 0 + !(ch & 0x80)]);
-		be128_xor(r, r, &p[ 2 + !(ch & 0x40)]);
-		be128_xor(r, r, &p[ 4 + !(ch & 0x20)]);
-		be128_xor(r, r, &p[ 6 + !(ch & 0x10)]);
-		be128_xor(r, r, &p[ 8 + !(ch & 0x08)]);
+		be128_xor(r, r, &p[0 + !(ch & 0x80)]);
+		be128_xor(r, r, &p[2 + !(ch & 0x40)]);
+		be128_xor(r, r, &p[4 + !(ch & 0x20)]);
+		be128_xor(r, r, &p[6 + !(ch & 0x10)]);
+		be128_xor(r, r, &p[8 + !(ch & 0x08)]);
 		be128_xor(r, r, &p[10 + !(ch & 0x04)]);
 		be128_xor(r, r, &p[12 + !(ch & 0x02)]);
 		be128_xor(r, r, &p[14 + !(ch & 0x01)]);
-- 
2.40.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ