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

version» Context lines:

pike.git/lib/modules/Crypto.pmod/SHA384.pmod:1:   #pike __REAL_VERSION__   #pragma strict_types + #require constant(Nettle.SHA384)      //! SHA384 is another hash function specified by NIST, intended as a   //! replacement for @[SHA1], generating larger digests. It outputs hash   //! values of 384 bits, or 48 octets.    - #if constant(Nettle) && constant(Nettle.SHA384) -  +    inherit Nettle.SHA384;    - Standards.ASN1.Types.Identifier asn1_id() + Standards.ASN1.Types.Identifier pkcs_hash_id()   {    return Standards.PKCS.Identifiers.sha384_id;   }    - #else - constant this_program_does_not_exist=1; - #endif + protected constant hmac_jwa_id = "HS384";