26 #ifndef MHD_MD5_WRAP_H 27 #define MHD_MD5_WRAP_H 1 30 #ifndef MHD_MD5_SUPPORT 31 #error This file must be used only when MD5 is enabled 33 #ifndef MHD_MD5_TLSLIB 39 #ifndef MD5_DIGEST_SIZE 44 #define MD5_DIGEST_SIZE (16) 47 #ifndef MD5_DIGEST_STRING_SIZE 51 #define MD5_DIGEST_STRING_SIZE ((MD5_DIGEST_SIZE) * 2 + 1) 54 #ifndef MHD_MD5_TLSLIB 58 #define Md5CtxWr Md5Ctx 63 #define Md5CtxWr Md5CtxExt 66 #ifndef MHD_MD5_HAS_INIT_ONE_TIME 70 #define MHD_MD5_init_one_time(ctx) MHD_MD5_init(ctx) 73 #ifndef MHD_MD5_HAS_FINISH_RESET 77 #define MHD_MD5_reset(ctx) MHD_MD5_init(ctx) 81 #define MHD_MD5_finish_reset(ctx,digest) MHD_MD5_finish(ctx,digest), \ 85 #define MHD_MD5_reset(ctx) (void)0 88 #ifndef MHD_MD5_HAS_DEINIT 89 #define MHD_MD5_deinit(ignore) (void)0 94 #if ! defined(MHD_MD5_HAS_FINISH_RESET) && ! defined(MHD_MD5_HAS_FINISH) 95 #error Required at least one of MHD_MD5_finish_reset(), MHD_MD5_finish_reset() additional automatic macros for MHD_config.h
Wrapper declarations for MD5 calculation performed by TLS library.
Calculation of MD5 digest.