Commit a28e32e0 authored by Manu Kumar's avatar Manu Kumar Committed by Greg Kroah-Hartman

staging: skein: cleanup: fixed new lines

Added lines between functions in skein_block.c and removed unneeded
lines in skein_block.c
Signed-off-by: default avatarManu Kumar <maraku@gmx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent beba2ab8
...@@ -165,7 +165,6 @@ int skein_update(struct skein_ctx *ctx, const u8 *msg, ...@@ -165,7 +165,6 @@ int skein_update(struct skein_ctx *ctx, const u8 *msg,
break; break;
} }
return ret; return ret;
} }
int skein_update_bits(struct skein_ctx *ctx, const u8 *msg, int skein_update_bits(struct skein_ctx *ctx, const u8 *msg,
......
...@@ -465,6 +465,7 @@ size_t skein_256_process_block_code_size(void) ...@@ -465,6 +465,7 @@ size_t skein_256_process_block_code_size(void)
return ((u8 *) skein_256_process_block_code_size) - return ((u8 *) skein_256_process_block_code_size) -
((u8 *) skein_256_process_block); ((u8 *) skein_256_process_block);
} }
unsigned int skein_256_unroll_cnt(void) unsigned int skein_256_unroll_cnt(void)
{ {
return SKEIN_UNROLL_256; return SKEIN_UNROLL_256;
...@@ -547,7 +548,6 @@ void skein_512_process_block(struct skein_512_ctx *ctx, const u8 *blk_ptr, ...@@ -547,7 +548,6 @@ void skein_512_process_block(struct skein_512_ctx *ctx, const u8 *blk_ptr,
for (r = 1; for (r = 1;
r < (SKEIN_UNROLL_512 ? 2 * RCNT : 2); r < (SKEIN_UNROLL_512 ? 2 * RCNT : 2);
r += (SKEIN_UNROLL_512 ? 2 * SKEIN_UNROLL_512 : 1)) { r += (SKEIN_UNROLL_512 ? 2 * SKEIN_UNROLL_512 : 1)) {
R512_8_ROUNDS(0); R512_8_ROUNDS(0);
#if R512_UNROLL_R(1) #if R512_UNROLL_R(1)
...@@ -616,6 +616,7 @@ size_t skein_512_process_block_code_size(void) ...@@ -616,6 +616,7 @@ size_t skein_512_process_block_code_size(void)
return ((u8 *) skein_512_process_block_code_size) - return ((u8 *) skein_512_process_block_code_size) -
((u8 *) skein_512_process_block); ((u8 *) skein_512_process_block);
} }
unsigned int skein_512_unroll_cnt(void) unsigned int skein_512_unroll_cnt(void)
{ {
return SKEIN_UNROLL_512; return SKEIN_UNROLL_512;
...@@ -780,6 +781,7 @@ size_t skein_1024_process_block_code_size(void) ...@@ -780,6 +781,7 @@ size_t skein_1024_process_block_code_size(void)
return ((u8 *) skein_1024_process_block_code_size) - return ((u8 *) skein_1024_process_block_code_size) -
((u8 *) skein_1024_process_block); ((u8 *) skein_1024_process_block);
} }
unsigned int skein_1024_unroll_cnt(void) unsigned int skein_1024_unroll_cnt(void)
{ {
return SKEIN_UNROLL_1024; return SKEIN_UNROLL_1024;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment