pike.git / lib / modules / Crypto.pmod / MD4.pmod

version» Context lines:

pike.git/lib/modules/Crypto.pmod/MD4.pmod:1:   #pike __REAL_VERSION__   #pragma strict_types + #require constant(Nettle.MD4)      //! MD4 is a message digest function constructed by Ronald Rivest, and - //! is described in RFC 1320. It outputs message digests of 128 bits, - //! or 16 octets. + //! is described in @rfc{1320@}. It outputs message digests of 128 + //! bits, or 16 octets.    - #if constant(Nettle) && constant(Nettle.MD4_Info) + inherit Nettle.MD4;    - // NOTE: Depends on the order of INIT invocations. - inherit Nettle.MD4_Info; - inherit .Hash; -  - .HashState `()() { return Nettle.MD4_State(); } -  - // urn:oid:1.2.840.113549.2.5 - string asn1_id() { return "*\206H\206\367\r\2\5"; } -  - #else - constant this_program_does_not_exist=1; - #endif + Standards.ASN1.Types.Identifier pkcs_hash_id() + { +  return Standards.PKCS.Identifiers.md4_id; + }