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