diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2019-04-05 18:48:13 +0300 |
---|---|---|
committer | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2019-04-05 18:52:49 +0300 |
commit | c6055aaccac86e1ca8a9d35c980d7abbacf2a9ff (patch) | |
tree | 96425c69db03506f9fcde11b90e711fb17ec4b14 /cipher/stribog.c | |
parent | e76cd0e2b1f6025c1319576a5848815d1d231aeb (diff) | |
download | libgcrypt-c6055aaccac86e1ca8a9d35c980d7abbacf2a9ff.tar.gz |
Remove extra buffer flush at begining of digest final functions
* cipher/md2.c (md2_final): Remove _gcry_md_block_write flush call
from entry.
* cipher/md4.c (md4_final): Ditto.
* cipher/md5.c (md5_final): Ditto.
* cipher/rmd160.c (rmd160_final): Ditto.
* cipher/sha1.c (sha1_final): Ditto.
* cipher/sha256.c (sha256_final): Ditto.
* cipher/sha512.c (sha512_final): Ditto.
* cipher/sm3.c (sm3_final): Ditto.
* cipher/stribog.c (stribog_final): Ditto.
* cipher/tiger.c (tiger_final): Ditto.
--
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Diffstat (limited to 'cipher/stribog.c')
-rw-r--r-- | cipher/stribog.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cipher/stribog.c b/cipher/stribog.c index d31dddd3..3eb07735 100644 --- a/cipher/stribog.c +++ b/cipher/stribog.c @@ -1287,7 +1287,6 @@ stribog_final (void *context) u64 Z[8] = {}; int i; - _gcry_md_block_write (context, NULL, 0); /* flush */ ; /* PAD. It does not count towards message length */ i = hd->bctx.count; /* After flush we have at least one byte free) */ |