]>
Commit | Line | Data |
---|---|---|
36f048c5 | 1 | /* Plumbing with collition-detecting SHA1 code */ |
a0103914 | 2 | |
36f048c5 TI |
3 | #ifdef DC_SHA1_SUBMODULE |
4 | #include "sha1collisiondetection/lib/sha1.h" | |
5 | #else | |
6 | #include "sha1dc/sha1.h" | |
7 | #endif | |
a0103914 | 8 | |
36f048c5 | 9 | void git_SHA1DCFinal(unsigned char [20], SHA1_CTX *); |
a0103914 ÆAB |
10 | void git_SHA1DCUpdate(SHA1_CTX *ctx, const void *data, unsigned long len); |
11 | ||
12 | #define platform_SHA_CTX SHA1_CTX | |
13 | #define platform_SHA1_Init SHA1DCInit | |
14 | #define platform_SHA1_Update git_SHA1DCUpdate | |
15 | #define platform_SHA1_Final git_SHA1DCFinal |