Branch: Tag:

2015-07-23

2015-07-23 17:43:24 by Martin Nilsson <nilsson@fastmail.com>

Added SHA512/224 and SHA512/256, defined in FIPS 180-4.

657:      #endif /* SHA512_DIGEST_SIZE */    + #ifdef SHA512_224_DIGEST_SIZE +  + #cmod_define PIKE_NAME SHA512_224 + #cmod_define NETTLE_NAME sha512_224 + #cmod_include "hash.H" + #cmod_undef PIKE_NAME + #cmod_undef NETTLE_NAME +  + #endif /* SHA512_224_DIGEST_SIZE */ +  + #ifdef SHA512_256_DIGEST_SIZE +  + #cmod_define PIKE_NAME SHA512_256 + #cmod_define NETTLE_NAME sha512_256 + #cmod_include "hash.H" + #cmod_undef PIKE_NAME + #cmod_undef NETTLE_NAME +  + #endif /* SHA512_256_DIGEST_SIZE */ +    #ifdef HAVE_NETTLE_SHA3_H      #cmod_define PIKE_NAME SHA3_224