pike.git / src / post_modules / Nettle / hash.cmod

version» Context lines:

pike.git/src/post_modules/Nettle/hash.cmod:650:   #ifdef SHA512_DIGEST_SIZE      #cmod_define PIKE_NAME SHA512   #cmod_define NETTLE_NAME sha512   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME      #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   #cmod_define NETTLE_NAME sha3_224   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME      #cmod_define PIKE_NAME SHA3_256   #cmod_define NETTLE_NAME sha3_256