lkml.org 
[lkml]   [2019]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Crypto: aegis128l: fix a coding stlye issue
Date
From: Fatih ALTINPINAR <fatihaltinpinar@gmail.com>

Fixed a coding style issue. Removed curly brackets of an one
line for statement.

Signed-of-by: Fatih ALTINPINAR <fatihaltinpinar@gmail.com>
---
crypto/aegis128l.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/crypto/aegis128l.c b/crypto/aegis128l.c
index 9bca3d619a22..6c70e718c9c4 100644
--- a/crypto/aegis128l.c
+++ b/crypto/aegis128l.c
@@ -104,9 +104,8 @@ static void crypto_aegis128l_init(struct aegis_state *state,
crypto_aegis_block_xor(&state->blocks[6], &crypto_aegis_const[1]);
crypto_aegis_block_xor(&state->blocks[7], &crypto_aegis_const[0]);

- for (i = 0; i < 10; i++) {
+ for (i = 0; i < 10; i++)
crypto_aegis128l_update_a(state, &chunk);
- }
}

static void crypto_aegis128l_ad(struct aegis_state *state,
--
2.17.1
\
 
 \ /
  Last update: 2019-07-03 15:50    [W:0.047 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site