hmac_sha1_update_x2
Processes two independent data streams concurrently.
int hmac_sha1_update_x2(sha1_hmac_ctx_t *ctx[2], uint8_t *data[2], uint64_t len[2]);
Parameters
Parameter |
Description |
Value Range |
Input/Output |
|---|---|---|---|
ctx |
Pointer array that points to the initialized hmac_sha1 context structure. The array size is 2. |
Not null |
Input/Output |
data |
Pointer array that points to the input buffer. The array size is 2. |
Not null |
Input |
len |
Length array of the input data. The array size is 2. |
> 0 |
Input |
Return Values
- Success: 0 is returned.
- Failure: -1 is returned.
Parent topic: Interface Description