---
title: hmac_sha1_update_x3
description: "用于处理三个独立的数据流进行并发计算。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengaccel/encryp-decryp/ug_kacc_crypto/kunpengaccel_kacccrypt_16_0012.html
sourcePath: /source/zh/kunpengaccel/encryp-decryp/ug_kacc_crypto/kunpengaccel_kacccrypt_16_0012.html
indexId: 5258f1a16cb7e8e059f9832fedcf01f9cd02ad5eac5b0437ea42ab562d94584e88
---
# hmac_sha1_update_x3

用于处理三个独立的数据流进行并发计算。

int hmac_sha1_update_x3(sha1_hmac_ctx_t *ctx[3], uint8_t *data[3], uint64_t len[3]);

#### 参数

| 参数名 | 描述 | 取值范围 | 输入/输出 |
| --- | --- | --- | --- |
| ctx | 指向已初始化的hmac\_sha1上下文结构体指针数组，数组大小为3。 | 非空 | 输入/输出 |
| data | 指向输入缓冲区的指针数组，数组大小为3。 | 非空 | 输入 |
| len | 输入数据大小的长度数组，数组大小为3。 | >0 | 输入 |


#### 返回值

- 成功：返回值为0。
- 失败：返回值为-1。
