Branch: Tag:

2017-12-11

2017-12-11 21:31:18 by Martin Nilsson <nilsson@fastmail.com>

Added SHA512/224 and SHA512/256

1: + #pike __REAL_VERSION__ + #pragma strict_types + #require constant(Nettle.SHA512_224)    -  + //! SHA512/224 is another hash function specified by NIST. It is + //! similar to @[SHA512] except it uses a different initialization and + //! the output is truncated to 224 bits, or 28 octets. +  + inherit Nettle.SHA512_224; +  + Standards.ASN1.Types.Identifier pkcs_hash_id() + { +  return Standards.PKCS.Identifiers.sha512_224_id; + }   Newline at end of file added.