hmac_sha1_update
Processes input data blocks and updates the hmac_sha1 context status.
int hmac_sha1_update(sha1_hmac_ctx_t *ctx, uint8_t *data, uint64_t len);
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
ctx |
hmac_sha1 context structure. |
Not null |
Input/Output |
data |
Data used in the computation task. |
Not null |
Input |
len |
Data size. |
> 0 |
Input |
Return Values
- Success: 0 is returned.
- Failure: -1 is returned.
Parent topic: Interface Description