From 563a82e704a6075c79e5e30aa9e370e4af9b013c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 29 Aug 2011 20:29:19 +0200 Subject: [PATCH] (struct md4_ctx): Renamed some fields, for consistency. Rev: nettle/md4.h:1.2 --- md4.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/md4.h b/md4.h index e9a32b9e..c0627e97 100644 --- a/md4.h +++ b/md4.h @@ -43,12 +43,13 @@ extern "C" { /* Digest is kept internally as 4 32-bit words. */ #define _MD4_DIGEST_LENGTH 4 +/* FIXME: Identical to md5_ctx */ struct md4_ctx { - uint32_t digest[_MD4_DIGEST_LENGTH]; - uint32_t count_l, count_h; /* Block count */ - uint8_t block[MD4_DATA_SIZE]; /* Block buffer */ - unsigned index; /* Into buffer */ + uint32_t state[_MD4_DIGEST_LENGTH]; + uint32_t count_low, count_high; /* Block count */ + uint8_t block[MD4_DATA_SIZE]; /* Block buffer */ + unsigned index; /* Into buffer */ }; void -- GitLab