summaryrefslogtreecommitdiff
path: root/src/MD4.c
diff options
context:
space:
mode:
authorFrédéric Bertolus <fred@linkeos.com>2011-04-08 18:23:07 +0200
committerFrédéric Bertolus <fred@linkeos.com>2011-04-08 18:23:07 +0200
commit577d0dbd7dfeeb07d55ec0a3412298722cdd2337 (patch)
treecc8d30dc07a5d9a132a531d451a1eb7457510203 /src/MD4.c
parenta65e9e86bfce406fc72bc21f219c8de4eba42181 (diff)
downloadpycrypto-577d0dbd7dfeeb07d55ec0a3412298722cdd2337.tar.gz
Add variable block size support to HMAC-SHA384 and HMAC-SHA512 which use
block of 128 bytes long
Diffstat (limited to 'src/MD4.c')
-rw-r--r--src/MD4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/MD4.c b/src/MD4.c
index 51cbd31..2691e4d 100644
--- a/src/MD4.c
+++ b/src/MD4.c
@@ -32,6 +32,7 @@
#define MODULE_NAME MD4
#define DIGEST_SIZE 16
+#define BLOCK_SIZE 64
typedef unsigned int U32;
typedef unsigned char U8;