Coda Distributed File System
|
Macros | |
#define | SHA1_DIGEST_SIZE 20 |
#define | SHA1_HMAC_BLOCK_SIZE 64 |
#define | blk0(i) block32[i] |
#define | blk(i) |
#define | R0(v, w, x, y, z, i) |
#define | R1(v, w, x, y, z, i) |
#define | R2(v, w, x, y, z, i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); |
#define | R3(v, w, x, y, z, i) |
#define | R4(v, w, x, y, z, i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30); |
Functions | |
void | SHA1_Init (SHA_CTX *sctx) |
void | SHA1_Update (SHA_CTX *sctx, const unsigned char *data, unsigned int len) |
void | SHA1_Final (unsigned char out[SHA_DIGEST_LENGTH], SHA_CTX *sctx) |
#define blk | ( | i | ) |
#define blk0 | ( | i | ) | block32[i] |
#define SHA1_DIGEST_SIZE 20 |
#define SHA1_HMAC_BLOCK_SIZE 64 |
void SHA1_Final | ( | unsigned char | out[SHA_DIGEST_LENGTH], |
SHA_CTX * | sctx | ||
) |
void SHA1_Init | ( | SHA_CTX * | sctx | ) |
void SHA1_Update | ( | SHA_CTX * | sctx, |
const unsigned char * | data, | ||
unsigned int | len | ||
) |