summaryrefslogtreecommitdiff
path: root/src/gcrypt.h.in
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2013-09-18 14:34:18 +0200
committerWerner Koch <wk@gnupg.org>2013-09-18 14:35:08 +0200
commitc22064bdd773a807801e300aa9214b2fdcafcf20 (patch)
treea45813dbbd6b94a988478c02a763aef25680b5c5 /src/gcrypt.h.in
parentb0579baaa04fb91eabbbdc295bcabea04cf84056 (diff)
downloadlibgcrypt-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 'src/gcrypt.h.in')
-rw-r--r--src/gcrypt.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gcrypt.h.in b/src/gcrypt.h.in
index 0bf79fc8..a152ef3d 100644
--- a/src/gcrypt.h.in
+++ b/src/gcrypt.h.in
@@ -1092,6 +1092,8 @@ enum gcry_md_algos
GCRY_MD_TIGER1 = 306, /* TIGER fixed. */
GCRY_MD_TIGER2 = 307, /* TIGER2 variant. */
GCRY_MD_GOSTR3411_94 = 308, /* GOST R 34.11-94. */
+ GCRY_MD_GOSTR3411_12_256 = 309, /* GOST R 34.11-2012, 256 bit */
+ GCRY_MD_GOSTR3411_12_512 = 310, /* GOST R 34.11-2012, 512 bit */
};
/* Flags used with the open function. */