Home GnuPG

md: Simplify the message digest dispatcher md.c.
0d3999793261Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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>

Details

Provenance
wernerAuthored on Oct 2 2013, 1:39 PM
Parents
rC3ca180b25e8d: cipher: Simplify the cipher dispatcher cipher.c.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC0d3999793261: md: Simplify the message digest dispatcher md.c. (authored by Werner Koch <wk@gnupg.org>).Oct 2 2013, 1:39 PM