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

version» Context lines:

pike.git/src/post_modules/Nettle/hash.cmod:16:      #include "nettle_config.h"      #ifdef HAVE_LIBNETTLE      DECLARATIONS      #include "nettle.h"      #include <nettle/md5.h> - #ifdef HAVE_NETTLE_MD4_INIT +    #include <nettle/md4.h>   #include <nettle/md2.h> - #endif +    #include <nettle/sha.h>   #ifdef HAVE_NETTLE_SHA3_H   #include <nettle/sha3.h>   #endif   #ifdef HAVE_NETTLE_RIPEMD160_H   #include <nettle/ripemd160.h>   #endif   #ifdef HAVE_NETTLE_GOSTHASH94_H   #include <nettle/gosthash94.h>   #endif
pike.git/src/post_modules/Nettle/hash.cmod:603:   /* The algorithm objects can be overloaded in pike. */      #cmod_define TOSTR(DEF) #DEF      #cmod_define PIKE_NAME MD5   #cmod_define NETTLE_NAME md5   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME    - #ifdef HAVE_NETTLE_MD4_INIT -  +    #cmod_define PIKE_NAME MD4   #cmod_define NETTLE_NAME md4   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME      #cmod_define PIKE_NAME MD2   #cmod_define NETTLE_NAME md2   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME    - #endif /* HAVE_NETTLE_MD4_INIT */ -  +    #cmod_define PIKE_NAME SHA1   #cmod_define NETTLE_NAME sha1   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME      #ifdef HAVE_NETTLE_SHA224_INIT      #cmod_define PIKE_NAME SHA224   #cmod_define NETTLE_NAME sha224