xsha1.h revision f0ab104f070bc7f569404826fea1828ed985638c
#ifndef XSHA1_H
#define XSHA1_H
/* Initialize SHA1 computation. Returns NULL on error. */
void *x_sha1_init(void);
/*
* Add some data to be hashed. ctx is the value returned by x_sha1_init()
* Returns 0 on error, 1 on success.
*/
/*
* Place the hash in result, and free ctx.
* Returns 0 on error, 1 on success.
*/
#endif