Home
last modified time | relevance | path

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

/drivers/crypto/
Dbfin_crc.c84 size_t bufnext_len; member
169 ctx->bufnext_len = 0; in bfin_crypto_crc_init()
202 dma_count = sg_dma_len(sg) - ctx->bufnext_len; in bfin_crypto_crc_config_dma()
270 if (ctx->bufnext_len && (ctx->flag == CRC_CRYPTO_STATE_FINALUPDATE || in bfin_crypto_crc_config_dma()
343 if (ctx->bufnext_len == 0) { in bfin_crypto_crc_handle_queue()
349 memset(ctx->bufnext + ctx->bufnext_len, 0, in bfin_crypto_crc_handle_queue()
350 CHKSUM_DIGEST_SIZE - ctx->bufnext_len); in bfin_crypto_crc_handle_queue()
353 if (ctx->bufnext_len + req->nbytes < CHKSUM_DIGEST_SIZE) { in bfin_crypto_crc_handle_queue()
354 memcpy(ctx->bufnext + ctx->bufnext_len, in bfin_crypto_crc_handle_queue()
356 ctx->bufnext_len += req->nbytes; in bfin_crypto_crc_handle_queue()
[all …]