aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/policy.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-03-27 19:25:12 +0000
committerlloyd <[email protected]>2009-03-27 19:25:12 +0000
commitfdc5fc1e78d584f6dd46d762ea524bcab20d56e3 (patch)
treea69c10cd9ee6bc75567fe5e3491c3f669f8577ff /src/libstate/policy.cpp
parent96a6948055bb0a497eab1a9a4a86cb2bb648a5b5 (diff)
GOST was using a completely non-standard set of sboxes. Change it to use
GostR3411_94_TestParamSet, this is compatible with the implementations in Crypto++ and OpenSSL. This is not backwards compatible, though once the implementation supports multiple param sets (which is required, unfortunately, for compatability with various standards by CryptoCom, who have defined not one but at least 4 (!!!) different sboxes to use with GOST), I may offer Botan's previous sbox set as an option. Since adding the GOST hash function (34.11) and signing algorithm (34.10) are on the long term agenda (request by Rickard Bondesson, as the Russian authorities want to use their local standards for their DNSSEC use), I renamed the block cipher class (which had been just 'GOST') to GOST_28147_89 to minimize future name clashes.
Diffstat (limited to 'src/libstate/policy.cpp')
-rw-r--r--src/libstate/policy.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstate/policy.cpp b/src/libstate/policy.cpp
index 6649253f7..0f6044790 100644
--- a/src/libstate/policy.cpp
+++ b/src/libstate/policy.cpp
@@ -225,6 +225,7 @@ void set_default_aliases(Library_State& config)
config.add_alias("SHA-1", "SHA-160");
config.add_alias("MARK-4", "ARC4(256)");
config.add_alias("OMAC", "CMAC");
+ config.add_alias("GOST", "GOST-28147-89");
}
/*************************************************