summaryrefslogtreecommitdiff
path: root/cipher
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-09-07 10:06:46 +0200
committerWerner Koch <wk@gnupg.org>2013-09-18 14:59:02 +0200
commitfd84b63ddd825431f557c002608a6c8d1bcc54c8 (patch)
treeda4bdb35fdf35d6dba0e7415019ed16299c4142e /cipher
parentbd33fa21c9afc6c81e0da24016fc13001e9c7390 (diff)
downloadlibgcrypt-fd84b63ddd825431f557c002608a6c8d1bcc54c8.tar.gz
Rename the GOST algorithm identifiers.
-- Dots and dashes in the names are probably not a good idea. I also renamed the identifiers to names which are easier to remember. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'cipher')
-rw-r--r--cipher/gostr3411-94.c2
-rw-r--r--cipher/md.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/cipher/gostr3411-94.c b/cipher/gostr3411-94.c
index dcf5fd23..93bf5973 100644
--- a/cipher/gostr3411-94.c
+++ b/cipher/gostr3411-94.c
@@ -267,7 +267,7 @@ gost3411_read (void *context)
}
gcry_md_spec_t _gcry_digest_spec_gost3411_94 =
{
- "GOST_R_34.11-94", NULL, 0, NULL, 32,
+ "GOSTR3411_94", NULL, 0, NULL, 32,
gost3411_init, _gcry_md_block_write, gost3411_final, gost3411_read,
sizeof (GOSTR3411_CONTEXT)
};
diff --git a/cipher/md.c b/cipher/md.c
index 1aa8968f..280c5d5f 100644
--- a/cipher/md.c
+++ b/cipher/md.c
@@ -63,9 +63,9 @@ static struct digest_table_entry
#endif
#ifdef USE_GOST_R_3411_12
{ &_gcry_digest_spec_stribog_256,
- &dummy_extra_spec, GCRY_MD_GOSTR3411_12_256 },
+ &dummy_extra_spec, GCRY_MD_STRIBOG256 },
{ &_gcry_digest_spec_stribog_512,
- &dummy_extra_spec, GCRY_MD_GOSTR3411_12_512 },
+ &dummy_extra_spec, GCRY_MD_STRIBOG512 },
#endif
#if USE_MD4
{ &_gcry_digest_spec_md4,