Lines Matching refs:DCP_BUF_SZ
28 #define DCP_BUF_SZ PAGE_SIZE macro
61 uint8_t aes_in_buf[DCP_BUF_SZ];
62 uint8_t aes_out_buf[DCP_BUF_SZ];
63 uint8_t sha_in_buf[DCP_BUF_SZ];
245 DCP_BUF_SZ, DMA_TO_DEVICE); in mxs_dcp_run_aes()
251 DCP_BUF_SZ, DMA_FROM_DEVICE); in mxs_dcp_run_aes()
299 dma_unmap_single(sdcp->dev, dst_phys, DCP_BUF_SZ, DMA_FROM_DEVICE); in mxs_dcp_run_aes()
301 dma_unmap_single(sdcp->dev, src_phys, DCP_BUF_SZ, DMA_TO_DEVICE); in mxs_dcp_run_aes()
321 const int out_off = DCP_BUF_SZ; in mxs_dcp_aes_block_crypt()
607 DCP_BUF_SZ, DMA_TO_DEVICE); in mxs_dcp_run_sha()
660 dma_unmap_single(sdcp->dev, buf_phys, DCP_BUF_SZ, DMA_TO_DEVICE); in mxs_dcp_run_sha()
691 if (actx->fill + len > DCP_BUF_SZ) in dcp_sha_req_to_buf()
692 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
707 if (len && actx->fill == DCP_BUF_SZ) { in dcp_sha_req_to_buf()