diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2013-09-18 14:34:18 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2013-09-18 14:35:08 +0200 |
commit | c22064bdd773a807801e300aa9214b2fdcafcf20 (patch) | |
tree | a45813dbbd6b94a988478c02a763aef25680b5c5 /doc | |
parent | b0579baaa04fb91eabbbdc295bcabea04cf84056 (diff) | |
download | libgcrypt-c22064bdd773a807801e300aa9214b2fdcafcf20.tar.gz |
Add GOST R 34.11-2012 implementation (Stribog)
* src/gcrypt.h.in (GCRY_MD_GOSTR3411_12_256)
(GCRY_MD_GOSTR3411_12_512): New.
* cipher/stribog.c: New.
* configure.ac (available_digests_64): Add stribog.
* src/cipher.h: Declare Stribog declarations.
* cipher/md.c: Register Stribog digest.
* tests/basic.c (check_digests) Add 4 testcases for Stribog from
standard.
* doc/gcrypt.texi: Document new constants.
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gcrypt.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/gcrypt.texi b/doc/gcrypt.texi index f40ab66a..1e4b9b42 100644 --- a/doc/gcrypt.texi +++ b/doc/gcrypt.texi @@ -2968,6 +2968,14 @@ bytes. This is the hash algorithm described in GOST R 34.11-94. It yields message digest of 32 bytes. +@item GCRY_MD_GOSTR3411_12_256 +This is the 256-bit version of hash algorithm described in GOST R 34.11-2012 +which yields message digests of 32 bytes. + +@item GCRY_MD_GOSTR3411_12_512 +This is the 512-bit version of hash algorithm described in GOST R 34.11-2012 +which yields message digests of 64 bytes. + @end table @c end table of hash algorithms |