Skip to content

Commit

Permalink
cosmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
arun committed Nov 13, 2019
1 parent 394cb92 commit e3e2a59
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions freestyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ static u8 freestyle_random_round_number (const freestyle_ctx *x)
return R;
}


static u8 freestyle_hash (
const u32 cipher_state[16],
const u8 previous_hash,
Expand Down Expand Up @@ -716,7 +715,7 @@ int freestyle_xcrypt (
}

i += bytes_to_process;
bytes -= bytes_to_process;
bytes -= bytes_to_process;

++block;

Expand Down
1 change: 0 additions & 1 deletion optimized/8-32/freestyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ static void freestyle_roundsetup (
x->input_CONSTANT0 ^= cipher_parameter;
}


static u8 freestyle_encrypt_block (
freestyle_ctx *x,
u8 *expected_hash)
Expand Down
1 change: 0 additions & 1 deletion optimized/merged/freestyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ static void freestyle_roundsetup (
x->input_CONSTANT0 ^= cipher_parameter;
}


static u8 freestyle_encrypt_block (
freestyle_ctx *x,
u8 *expected_hash)
Expand Down
3 changes: 1 addition & 2 deletions side-channel-attack-resistance/freestyle.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ static u8 freestyle_random_round_number (const freestyle_ctx *x)
return R;
}


static u8 freestyle_hash (
const u32 cipher_state[16],
const u8 previous_hash,
Expand Down Expand Up @@ -751,7 +750,7 @@ int freestyle_xcrypt (
}

i += bytes_to_process;
bytes -= bytes_to_process;
bytes -= bytes_to_process;

++block;

Expand Down

0 comments on commit e3e2a59

Please sign in to comment.