diff options
author | Mattias Andrée <maandree@kth.se> | 2022-02-26 12:02:53 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2022-02-26 12:02:53 +0100 |
commit | 5d36b9c7ed3c5790060731bb43b5ce74e04d856d (patch) | |
tree | cc7218b850253b996fa5e87cb191b348cf53309e /digest.c | |
parent | Merge pull request #18 from oyheskes/remove-unused-variables (diff) | |
download | libkeccak-5d36b9c7ed3c5790060731bb43b5ce74e04d856d.tar.gz libkeccak-5d36b9c7ed3c5790060731bb43b5ce74e04d856d.tar.bz2 libkeccak-5d36b9c7ed3c5790060731bb43b5ce74e04d856d.tar.xz |
Remove useless restricts
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | digest.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -663,7 +663,7 @@ libkeccak_digest(struct libkeccak_state *restrict state, const void *restrict ms * @param times The number of rounds */ void -libkeccak_simple_squeeze(register struct libkeccak_state *restrict state, register long int times) +libkeccak_simple_squeeze(register struct libkeccak_state *state, register long int times) { while (times--) libkeccak_f(state); @@ -677,7 +677,7 @@ libkeccak_simple_squeeze(register struct libkeccak_state *restrict state, regist * @param times The number of digests */ void -libkeccak_fast_squeeze(register struct libkeccak_state *restrict state, register long int times) +libkeccak_fast_squeeze(register struct libkeccak_state *state, register long int times) { times *= (state->n - 1) / state->r + 1; while (times--) |