xsha1.h revision a5e7ae69e440f6816420fc99599f044e79e716b6
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/* Initialize SHA1 computation. Returns NULL on error. */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Add some data to be hashed. ctx is the value returned by x_sha1_init()
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Returns 0 on error, 1 on success.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Place the hash in result, and free ctx.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Returns 0 on error, 1 on success.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncint x_sha1_final(void *ctx, unsigned char result[20]);