sha1dc_git.hon commit Merge branch 'rs/wt-status-cleanup' (094aa09)
   1/*
   2 * This code is included at the end of sha1dc/sha1.h with the
   3 * SHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_H macro.
   4 */
   5
   6/*
   7 * Same as SHA1DCFinal, but convert collision attack case into a verbose die().
   8 */
   9void git_SHA1DCFinal(unsigned char [20], SHA1_CTX *);
  10
  11/*
  12 * Same as SHA1DCUpdate, but adjust types to match git's usual interface.
  13 */
  14void git_SHA1DCUpdate(SHA1_CTX *ctx, const void *data, unsigned long len);
  15
  16#define platform_SHA_CTX SHA1_CTX
  17#define platform_SHA1_Init SHA1DCInit
  18#define platform_SHA1_Update git_SHA1DCUpdate
  19#define platform_SHA1_Final git_SHA1DCFinal