aboutsummaryrefslogtreecommitdiffstats
path: root/checks
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-04-07 22:09:21 +0000
committerlloyd <[email protected]>2009-04-07 22:09:21 +0000
commit552a13baf572164e6dc80371c080197353aae518 (patch)
tree573c4d236ed2fcc87a1d94437e03177ff408d412 /checks
parentbbef5652aa760beb83ef3116ecec3bd5eb76af35 (diff)
Add the GOST 34.11 hash function. Pretty slow, but functional.
Diffstat (limited to 'checks')
-rw-r--r--checks/algos.cpp1
-rw-r--r--checks/validate.dat70
2 files changed, 71 insertions, 0 deletions
diff --git a/checks/algos.cpp b/checks/algos.cpp
index faadfa5c3..79a609dda 100644
--- a/checks/algos.cpp
+++ b/checks/algos.cpp
@@ -72,6 +72,7 @@ std::vector<algorithm> get_algos()
algos.push_back(algorithm("Hash", "CRC24"));
algos.push_back(algorithm("Hash", "CRC32"));
algos.push_back(algorithm("Hash", "FORK-256"));
+ algos.push_back(algorithm("Hash", "GOST-34.11"));
algos.push_back(algorithm("Hash", "HAS-160"));
algos.push_back(algorithm("Hash", "HAS-V"));
algos.push_back(algorithm("Hash", "MD2"));
diff --git a/checks/validate.dat b/checks/validate.dat
index 31b1825fb..eaa288b15 100644
--- a/checks/validate.dat
+++ b/checks/validate.dat
@@ -29958,6 +29958,76 @@ A572D774628B4C35E06F0ED0DF055F27C054B4A556B1ABEEB076D5D502390E1C31E28555BE7F6A\
6ED4B49FD7CAB793E4BC:\
B97C3815ABA1958CB4A6F64B3DDA017236224597101DD822F24A6A594F255973
+[GOST-34.11]
+# Using the CryptoPro sboxes. Generated by OpenSSL's GOST code
+
+:981E5F3CA30C841487830F84FB433E13AC1101569B9C13584AC483234CD656C0
+616263:B285056DBF18D7392D7677369524DD14747459ED8143997E163B2986F92FD42C
+
+730B3A80E44DDB0AD9A04D990D22F84009A86E5E8A2E00164EB168CEB279:\
+DF252A7F37EBDCF4995B5419394A6D3D2C782D30AB5FAE89F3665F86A4BBF78F
+
+67C6697351FF4AEC29CDBAABF2FBE3467CC254F81BE8E78D765A2E63339F:\
+EF35DA69225241950EBA3F20E6EE2D86A6286707EBE04819A81F79AD71DB62E2
+
+C4852EB81C5EEE208BBDCAA019F49142FC132197EDAF0E02374187066A9E25:\
+CEA05A7CA858638868FB64A1BBC015296980A6096B4EB09B03F1C8B075FF25EC
+
+12FC7387466C9687EF618EB38BEE08D4F67564BC48DFDE8A477EBBBC425C2C54:\
+D1E138CD1DB357091037E6041E6BBC7F58E32C4294F938868A9FF5E66E174EA0
+
+A040EE298C760CD98EB6467BC03D839A31598922758D475AA389881F465A8BE79B:\
+6AE26456D06C682AB63DE2DE3D0A8A932370B12204BAC4B04F78472665A350D7
+
+3679B590CDB17A11BB39575C88F02BA1EC7FD72A454D3A30E702073A9451F7CA\
+CBAC5B985ED5AA190E017597F2A038DE1F0F08655D429544459C7ED9EE75A4B9\
+21FF517FD4FB98E2FD0D79EFADB1CDCD:\
+F2D03BA660317AB8AE88490C6B25B79D74B2C307AF0DF128E82E98204C3504E1
+
+B3980FFE5331EE30B407FC8EFA18FF6CE35C841C1622C405C93A51CBE8B2EC9B\
+4AFC999E2D87CEE18FCA7089E26FF5C5CC7AE1E29CA6E766E03831C8EA1D6335\
+19FCD34683A128126B989C4D079113D30BF4B6A89A9D0E7AD63F42C05CA5F576\
+A1C8BC2569E437D47CD3228465355770290D18C4AB263E81658141C2263738C8\
+FFF4ED69D9243D55F85FD95D9431CDBE3EE682E90CC06A7241AC3468E36C30E2\
+601D4B3941898F39E868967D99643BD84ABDC1567D2CC8BFD8FC27BB68579DC9\
+74E902B57291EF5AFA85D793E9126B33CF2D8A4D59520C314F33ECB78A8980FE\
+7283B3E414A23F0E2816A211290D45F83ACF45932151C47084B0:\
+D8A200CD03364E0FB2A396FAB05E67E0EB1195672316B0F54D1D05425E2005D0
+
+D658E6C4786E9CA4E60B8961514C406336F46691F29A9B2B1C07784E7EDC6C55\
+355219ADC0B551A6C0DA07112748745D3CDAEE2E748A599091D2DF0FAE4B64E3\
+9D7D915D33E204F3BD0B05E45379418F542FBDC8B917594AE9385A9783BE7B20\
+3C0C7D6FEE8162AB8D678FE0E1D07035002DFDB94456042D8E5EC5111C403158\
+4CAFC73A302AE6BD91759E72460EA7463BA5FF80FB03AD8A61729B7EB2CDD6FE\
+7C9E39ACC81F6A599408CCDA167320511820D114237F9E85F13903A406D9A282\
+77DB2F3FFA99998FA16569B7D88A08F1AADA05CD59A3524ADC55EEE32F9165A6\
+6C94E6672D7FF6CEE45F85BCE98EAD9368B261C155B30B3209FA15388B7ADEF7\
+0FC45E3C43540B27B490E49D1E913186449247994553CB4E4DE086D85B65CF6A\
+292EA66D82B194364278D4600A05E74E972EE7DC81B32BCE93B1A6EE16765840\
+A4FFAD26B0415DF2BA3153C4363A12CD68F9A9EAACD4B840865F2E9CD587DC79\
+86899F36CBFC29852D7C4963B65B301E54DA0801AEC14134206FD1F5F6AD6E7C\
+370DB3020ADC873758D09B0E2BCB2C7FA5358054F6C1881631590B270779A43E\
+8657409033C7C88B976399C22EC541D4FAC228F083B006B40A11DC118A804F11\
+D78FA10A566995EDCC2EAFFBF3F0CFEEB2F7DE36A7E5EAB1F6C6C2814611921D\
+A03327F69DBCE369EA9264DE8333CC352AAA6BD28F5683861C460763579980F8\
+CCA8EE6964D2D34F64372DE76BF91D95A3886733DEEBB9FB31C05E8859DE8025\
+866F8FEB41623AA599678D0460AA9A0332013611ECEF0C1DAF6AA60848262ECF\
+95BDBAD61FF47CB85B09BDBBB357BEE558F5F645E40262946C089CB52FCA84C4\
+873E9BA632175F8D201C48D37306B8CBFBAF10E0B173741E7B10D3AADB576F62\
+950A09C721685441849C14F7A2CCC29E7BD37E2D46F24BC1021E6CDD75DB400A\
+E549D106B1254735C15B2C6327EE01A3C17FD007711BC974393551AE1091B8F5\
+DA89FB8BAE42C06F9DECD2C4DBD4679C5337A4C5526D398BA28A39B21CF1A7F6\
+7AA28228E44297812F6A450A3EADA691E44A5637B78FC2591AFC0B36EDB22C68\
+54AE9038F128B92092FF2AD0ACD061901BB8C7D2478A2C6186379773EAC4DB3E\
+726C7763943083262FADF6DB7E576C990F336B57BD97B843CF50B7B91492F786\
+FE6EEA929F6DB8CE1BAEAA9906163215499D6C0735254A047501BD8994B40F92\
+23F925C267DD90828C3A1B92504DA79AEA14A11F39EB23AEEDE03781954613B8\
+40387AA7160A29A24544349591DB2F7BEFD09B28BCBED6A99F0D2A34543DEC94\
+76663B8C70642EB5A8624B393D7AB42D4B4F55070E2CB0AD39DAE18D17CD218D\
+335C19A3C0475968A9A4A1E71E561469A56970B3952060CFFA415C120E7E9F41\
+DAB9E59B003E03AAE2A59100FBA56AA00EDA54A4FBB473F5F6CF07044DA74628:\
+12DF46E869E72CB058629D3554917D7ABA7C6D9D432751F58600138DD5862BFD
+
# From TTA.IS-10118:
# "Hash Function Standard - Part 2 : Hash Function Algorithm (HAS-160)"
# Telecommunications Technology Association, Republic of Korea, Nov 1998