11 unsigned char buffer
[64];
14 void SHA1Transform(uint32_t state
[5], unsigned char buffer
[64]);
15 void SHA1Init(SHA1_CTX
* context
);
16 void SHA1Update(SHA1_CTX
* context
, unsigned char* data
, unsigned int len
);
17 void SHA1Final(unsigned char digest
[20], SHA1_CTX
* context
);
19 void sha1_hash_bstring(bstring input
, unsigned char *digest
);
20 void sha1_hash_string(unsigned char *input
, int len
, unsigned char *digest
);