summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/Libgcrypt/cipher/rmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirOTR/Libgcrypt/cipher/rmd.h')
-rw-r--r--plugins/MirOTR/Libgcrypt/cipher/rmd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/MirOTR/Libgcrypt/cipher/rmd.h b/plugins/MirOTR/Libgcrypt/cipher/rmd.h
index f4ce9c671f..a56ee49c2c 100644
--- a/plugins/MirOTR/Libgcrypt/cipher/rmd.h
+++ b/plugins/MirOTR/Libgcrypt/cipher/rmd.h
@@ -20,18 +20,16 @@
#ifndef G10_RMD_H
#define G10_RMD_H
+#include "hash-common.h"
/* We need this here because random.c must have direct access. */
-typedef struct
+typedef struct
{
+ gcry_md_block_ctx_t bctx;
u32 h0,h1,h2,h3,h4;
- u32 nblocks;
- byte buf[64];
- int count;
} RMD160_CONTEXT;
void _gcry_rmd160_init ( void *context );
void _gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte );
#endif /*G10_RMD_H*/
-