Lines Matching refs:clen
315 unsigned int i, len, clen, tlen = 0; in mxs_dcp_aes_block_crypt() local
344 clen = out_off - actx->fill; in mxs_dcp_aes_block_crypt()
346 clen = len; in mxs_dcp_aes_block_crypt()
348 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
349 len -= clen; in mxs_dcp_aes_block_crypt()
350 src_buf += clen; in mxs_dcp_aes_block_crypt()
351 actx->fill += clen; in mxs_dcp_aes_block_crypt()
629 unsigned int i, len, clen, oft = 0; in dcp_sha_req_to_buf() local
641 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
643 clen = len; in dcp_sha_req_to_buf()
645 scatterwalk_map_and_copy(in_buf + actx->fill, src, oft, clen, in dcp_sha_req_to_buf()
648 len -= clen; in dcp_sha_req_to_buf()
649 oft += clen; in dcp_sha_req_to_buf()
650 actx->fill += clen; in dcp_sha_req_to_buf()