pike.git/
lib/
modules/
Crypto.pmod/
GOST94.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2013-11-30
2013-11-30 02:40:33 by Martin Nilsson <nilsson@opera.com>
dcb28031a89052d25f5162e1c0e2a84bf738f777 (
16
lines) (+
16
/-
0
)
[
Show
|
Annotate
]
Branch:
8.0
Added hash functions GOST94 and RIPEMD160. All Nettle hashes are now accounted for.
1:
+
#pike __REAL_VERSION__
+
#pragma strict_types
-
+
//! The GOST94 or GOST R 34.11-94 hash algorithm is a Soviet-era
+
//! algorithm used in Russian government standards, defined in RFC
+
//! 4357.
+
+
#if constant(Nettle.GOST94)
+
+
inherit Nettle.GOST94;
+
+
string name() { return "gost94"; }
+
+
#else
+
constant this_program_does_not_exist=1;
+
#endif
Newline at end of file added.