Home
last modified time | relevance | path

Searched refs:cur_nodes (Results 1 – 2 of 2) sorted by relevance

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_symc.c311 hi_u32 cur = ctx->cur_nodes; in symc_add_buf()
364 while ((total_len > 0) && (ctx->cur_nodes < ctx->total_nodes)) { in symc_add_next_node()
365 cur = ctx->cur_nodes; in symc_add_next_node()
402 ctx->cur_nodes++; in symc_add_next_node()
420 if (hisi_ctx->cur_nodes == hisi_ctx->total_nodes) { in symc_add_buf_list()
428 nodes = crypto_min(SYMC_INT_LEVEL, hisi_ctx->total_nodes - hisi_ctx->cur_nodes); in symc_add_buf_list()
432 cur = hisi_ctx->cur_nodes; in symc_add_buf_list()
443 hisi_ctx->cur_nodes++; in symc_add_buf_list()
458 if ((hisi_ctx->mode == SYMC_MODE_GCM) && (hisi_ctx->cur_nodes == hisi_ctx->total_nodes)) { in symc_add_buf_list()
623 hisi_ctx->cur_nodes = 0; in cryp_symc_crypto_init()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/
Ddrv_symc.h254 hi_u32 cur_nodes; /* current nodes id */ member