Lines Matching refs:fill
79 uint32_t fill; member
235 desc->size = actx->fill; in mxs_dcp_run_aes()
275 actx->fill = 0; in mxs_dcp_aes_block_crypt()
294 if (actx->fill + len > out_off) in mxs_dcp_aes_block_crypt()
295 clen = out_off - actx->fill; in mxs_dcp_aes_block_crypt()
299 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
302 actx->fill += clen; in mxs_dcp_aes_block_crypt()
308 if (actx->fill == out_off || sg_is_last(src)) { in mxs_dcp_aes_block_crypt()
315 while (dst && actx->fill) { in mxs_dcp_aes_block_crypt()
321 actx->fill); in mxs_dcp_aes_block_crypt()
326 actx->fill -= rem; in mxs_dcp_aes_block_crypt()
536 desc->size = actx->fill; in mxs_dcp_run_sha()
588 if (actx->fill + len > DCP_BUF_SZ) in dcp_sha_req_to_buf()
589 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
593 memcpy(in_buf + actx->fill, src_buf, clen); in dcp_sha_req_to_buf()
596 actx->fill += clen; in dcp_sha_req_to_buf()
602 if (len && actx->fill == DCP_BUF_SZ) { in dcp_sha_req_to_buf()
606 actx->fill = 0; in dcp_sha_req_to_buf()
623 actx->fill = 0; in dcp_sha_req_to_buf()
694 actx->fill = 0; in dcp_sha_init()