Lines Matching refs:clen
297 unsigned int i, len, clen, rem = 0, tlen = 0; in mxs_dcp_aes_block_crypt() local
326 clen = out_off - actx->fill; in mxs_dcp_aes_block_crypt()
328 clen = len; in mxs_dcp_aes_block_crypt()
330 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
331 len -= clen; in mxs_dcp_aes_block_crypt()
332 src_buf += clen; in mxs_dcp_aes_block_crypt()
333 actx->fill += clen; in mxs_dcp_aes_block_crypt()
633 unsigned int i, len, clen; in dcp_sha_req_to_buf() local
646 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
648 clen = len; in dcp_sha_req_to_buf()
650 memcpy(in_buf + actx->fill, src_buf, clen); in dcp_sha_req_to_buf()
651 len -= clen; in dcp_sha_req_to_buf()
652 src_buf += clen; in dcp_sha_req_to_buf()
653 actx->fill += clen; in dcp_sha_req_to_buf()