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

version» Context lines:

pike.git/src/post_modules/Nettle/hash.cmod:24:      #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   #include <nettle/nettle-meta.h>      #include <stdio.h>   #include <stdarg.h>   #include "fdlib.h"      #if 0   static void   werror(const char *format, ...)   {
pike.git/src/post_modules/Nettle/hash.cmod:684:   #cmod_undef NETTLE_NAME      #cmod_define PIKE_NAME SHA3_512   #cmod_define NETTLE_NAME sha3_512   #cmod_include "hash.H"   #cmod_undef PIKE_NAME   #cmod_undef NETTLE_NAME      #endif /* HAVE_NETTLE_SHA3_H */    + #ifdef HAVE_NETTLE_RIPEMD160_H +  + #cmod_define PIKE_NAME RIPEMD160 + #cmod_define NETTLE_NAME ripemd160 + #cmod_include "hash.H" + #cmod_undef PIKE_NAME + #cmod_undef NETTLE_NAME +  + #endif +  + #ifdef HAVE_NETTLE_GOSTHASH94_H +  + #cmod_define PIKE_NAME GOST94 + #cmod_define NETTLE_NAME gosthash94 + #cmod_include "hash.H" + #cmod_undef PIKE_NAME + #cmod_undef NETTLE_NAME +  + #endif +    /*! @endmodule Nettle */      void   hash_init(void)   {    werror("Nettle, hash init\n");    INIT;   }      void   hash_exit(void)   {    werror("Nettle, hash exit\n");    EXIT;   }      #endif /* HAVE_LIBNETTLE */