Lines Matching refs:clen
332 unsigned int i, len, clen, tlen = 0; in mxs_dcp_aes_block_crypt() local
361 clen = out_off - actx->fill; in mxs_dcp_aes_block_crypt()
363 clen = len; in mxs_dcp_aes_block_crypt()
365 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
366 len -= clen; in mxs_dcp_aes_block_crypt()
367 src_buf += clen; in mxs_dcp_aes_block_crypt()
368 actx->fill += clen; in mxs_dcp_aes_block_crypt()
680 unsigned int i, len, clen, oft = 0; in dcp_sha_req_to_buf() local
692 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
694 clen = len; in dcp_sha_req_to_buf()
696 scatterwalk_map_and_copy(in_buf + actx->fill, src, oft, clen, in dcp_sha_req_to_buf()
699 len -= clen; in dcp_sha_req_to_buf()
700 oft += clen; in dcp_sha_req_to_buf()
701 actx->fill += clen; in dcp_sha_req_to_buf()