Searched refs:bufnext_len (Results 1 – 1 of 1) sorted by relevance
86 size_t bufnext_len; member150 ctx->bufnext_len = 0; in bfin_crypto_crc_init()182 dma_count = sg_dma_len(sg) - ctx->bufnext_len; in bfin_crypto_crc_config_dma()252 if (ctx->bufnext_len && (ctx->flag == CRC_CRYPTO_STATE_FINALUPDATE || in bfin_crypto_crc_config_dma()321 if (ctx->bufnext_len == 0) { in bfin_crypto_crc_handle_queue()327 memset(ctx->bufnext + ctx->bufnext_len, 0, in bfin_crypto_crc_handle_queue()328 CHKSUM_DIGEST_SIZE - ctx->bufnext_len); in bfin_crypto_crc_handle_queue()331 if (ctx->bufnext_len + req->nbytes < CHKSUM_DIGEST_SIZE) { in bfin_crypto_crc_handle_queue()332 memcpy(ctx->bufnext + ctx->bufnext_len, in bfin_crypto_crc_handle_queue()334 ctx->bufnext_len += req->nbytes; in bfin_crypto_crc_handle_queue()[all …]