pike.git
/
lib
/
modules
/
Crypto.pmod
/
MD2.pmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/lib/modules/Crypto.pmod/MD2.pmod:1:
#pike __REAL_VERSION__ #pragma strict_types
+
#require constant(Nettle.MD2)
//! MD2 is a message digest function constructed by Burton Kaliski,
-
//! and is described in
RFC 1319
. It outputs message digests of 128
+
//! and is described in
@rfc{1319@}
. It outputs message digests of 128
//! bits, or 16 octets.
-
#if constant(Nettle) && constant(Nettle.MD2)
-
+
inherit Nettle.MD2;
-
Standards.ASN1.Types.Identifier
asn1
_id()
+
Standards.ASN1.Types.Identifier
pkcs
_
hash_
id()
{ return Standards.PKCS.Identifiers.md2_id; }
-
-
#else
-
constant this_program_does_not_exist=1;
-
#endif
+