SHA-1 compute digest.
int32_t sha_sync_sha1_compute( struct sha_sync_descriptor * descr, struct sha_context * ctx, const uint8_t * input, uint32_t length, uint8_t output )
Type: struct sha_sync_descriptor Struct *
SHA descriptor
Type: struct sha_context *
SHA context structure
Type: const uint8_t *
Buffer holding the input data
Type: uint32_t
Byte length of the input data
Type: uint8_t
SHA digest data
Type: int32_t
Compute status.