2 * This code is included at the end of sha1dc/sha1.h with the
3 * SHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_H macro.
7 * Same as SHA1DCFinal, but convert collision attack case into a verbose die().
9 void git_SHA1DCFinal(unsigned char [20], SHA1_CTX
*);
12 * Same as SHA1DCUpdate, but adjust types to match git's usual interface.
14 void git_SHA1DCUpdate(SHA1_CTX
*ctx
, const void *data
, unsigned long len
);
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