Lines Matching refs:clen
272 unsigned int i, len, clen, rem = 0; in mxs_dcp_aes_block_crypt() local
295 clen = out_off - actx->fill; in mxs_dcp_aes_block_crypt()
297 clen = len; in mxs_dcp_aes_block_crypt()
299 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
300 len -= clen; in mxs_dcp_aes_block_crypt()
301 src_buf += clen; in mxs_dcp_aes_block_crypt()
302 actx->fill += clen; in mxs_dcp_aes_block_crypt()
576 unsigned int i, len, clen; in dcp_sha_req_to_buf() local
589 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
591 clen = len; in dcp_sha_req_to_buf()
593 memcpy(in_buf + actx->fill, src_buf, clen); in dcp_sha_req_to_buf()
594 len -= clen; in dcp_sha_req_to_buf()
595 src_buf += clen; in dcp_sha_req_to_buf()
596 actx->fill += clen; in dcp_sha_req_to_buf()