diff options
author | Werner Koch <wk@gnupg.org> | 2013-10-02 13:39:47 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-10-02 13:39:47 +0200 |
commit | 0d39997932617ba20656f8bcc230ba744b76c87e (patch) | |
tree | b5c52e2190f11703285b41f48ecc21a91dd4c579 /cipher/md4.c | |
parent | 3ca180b25e8df252fc16f802cfdc27496e307830 (diff) | |
download | libgcrypt-0d39997932617ba20656f8bcc230ba744b76c87e.tar.gz |
md: Simplify the message digest dispatcher md.c.
* src/gcrypt-module.h (gcry_md_spec_t): Move to ...
* src/cipher-proto.h: here. Merge with md_extra_spec_t. Add fields
ALGO and FLAGS. Set these fields in all digest modules.
* cipher/md.c: Change most code to replace the former module
system by a simpler system to gain information about the algorithms.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'cipher/md4.c')
-rw-r--r-- | cipher/md4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cipher/md4.c b/cipher/md4.c index e2d096ce..ab32b146 100644 --- a/cipher/md4.c +++ b/cipher/md4.c @@ -261,6 +261,7 @@ static gcry_md_oid_spec_t oid_spec_md4[] = gcry_md_spec_t _gcry_digest_spec_md4 = { + GCRY_MD_MD4, {0, 0}, "MD4", asn, DIM (asn), oid_spec_md4,16, md4_init, _gcry_md_block_write, md4_final, md4_read, sizeof (MD4_CONTEXT) |