lkml.org 
[lkml]   [2023]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] lib: crypto: Modify format error
Date
Fix the error(s):
space prohibited after that open square bracket '['

Signed-off-by: Yonggang Wu <wuyonggang001@208suo.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
\
 
 \ /
  Last update: 2023-08-04 08:32    [W:0.017 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site