doc: describe git svn init --ignore-refs
[git/git-svn.git] / sha1dc_git.h
bloba8a5c1da169e42360fa39851f27a8c4863d0e9ad
1 /*
2 * This code is included at the end of sha1dc/sha1.h with the
3 * SHA1DC_CUSTOM_TRAILING_INCLUDE_SHA1_H macro.
4 */
6 /*
7 * Same as SHA1DCFinal, but convert collision attack case into a verbose die().
8 */
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