From 56d370e0084511d9f9d706d0bcf2e3375b46ca25 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 21 Feb 2007 13:26:38 +0000 Subject: A lot of cleanups as well as minor API changes. Ported some changes from 1.2 to here. --- cipher/rmd.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'cipher/rmd.h') diff --git a/cipher/rmd.h b/cipher/rmd.h index 6c44017a..f4ce9c67 100644 --- a/cipher/rmd.h +++ b/cipher/rmd.h @@ -21,16 +21,17 @@ #define G10_RMD_H -/* we need this here because random.c must have direct access */ -typedef struct { - u32 h0,h1,h2,h3,h4; - u32 nblocks; - byte buf[64]; - int count; +/* We need this here because random.c must have direct access. */ +typedef struct +{ + 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, char *buffer ); +void _gcry_rmd160_init ( void *context ); +void _gcry_rmd160_mixblock ( RMD160_CONTEXT *hd, void *blockof64byte ); #endif /*G10_RMD_H*/ -- cgit v1.2.1