summaryrefslogtreecommitdiff
path: root/cipher/tiger.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2019-04-05 18:48:13 +0300
committerJussi Kivilinna <jussi.kivilinna@iki.fi>2019-04-05 18:52:49 +0300
commitc6055aaccac86e1ca8a9d35c980d7abbacf2a9ff (patch)
tree96425c69db03506f9fcde11b90e711fb17ec4b14 /cipher/tiger.c
parente76cd0e2b1f6025c1319576a5848815d1d231aeb (diff)
downloadlibgcrypt-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/tiger.c')
-rw-r--r--cipher/tiger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cipher/tiger.c b/cipher/tiger.c
index 0319b711..c78e3ac3 100644
--- a/cipher/tiger.c
+++ b/cipher/tiger.c
@@ -736,8 +736,6 @@ tiger_final( void *context )
unsigned int burn;
byte pad = hd->variant == 2? 0x80 : 0x01;
- _gcry_md_block_write(hd, NULL, 0); /* flush */;
-
t = hd->bctx.nblocks;
if (sizeof t == sizeof hd->bctx.nblocks)
th = hd->bctx.nblocks_high;