Home GnuPG

Add basic implementation of GOST R 34.11-94 message digest
b0579baaa04fUnpublished

Unpublished Commit · Learn More

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

Description

Add basic implementation of GOST R 34.11-94 message digest

* src/gcrypt.h.in (GCRY_MD_GOSTR3411_94): New.
* cipher/gostr3411-94.c: New.
* configure.ac (available_digests): Add gostr3411-94.
* src/cipher.h: Add gostr3411-94 definitions.
* cipher/md.c: Register GOST R 34.11-94.
* tests/basic.c (check_digests): Add 4 tests for GOST R 34.11-94
  hash algo. Two are  defined in the standard itself, two other are
  more or less common tests - an empty string an exclamation mark.
* doc/gcrypt.texi: Add an entry describing GOST R 34.11-94 to the MD
  algorithms table.

Add simple implementation of GOST R 34.11-94 hash function. Currently
there is no way to specify hash parameters (it always uses GOST R 34.11-94
test parameters).

Stack burn value in gost3411_init added by wk.

  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on Sep 18 2013, 2:21 PM
wernerCommitted on Sep 18 2013, 2:32 PM
Parents
rCecde77ad9869: Separate common md block code
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCb0579baaa04f: Add basic implementation of GOST R 34.11-94 message digest (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Sep 18 2013, 2:32 PM