Lines Matching refs:hw_blocksize
145 size_t hw_blocksize; member
319 cryp->hw_blocksize); in stm32_cryp_check_io_aligned()
324 cryp->hw_blocksize); in stm32_cryp_check_io_aligned()
353 total_in = ALIGN(cryp->total_in, cryp->hw_blocksize); in stm32_cryp_copy_sgs()
357 total_out = ALIGN(cryp->total_out, cryp->hw_blocksize); in stm32_cryp_copy_sgs()
660 len = ALIGN(cryp->total_in_save, cryp->hw_blocksize); in stm32_cryp_finish_req()
664 len = ALIGN(cryp->total_out_save, cryp->hw_blocksize); in stm32_cryp_finish_req()
941 cryp->hw_blocksize = is_aes(cryp) ? AES_BLOCK_SIZE : DES_BLOCK_SIZE; in stm32_cryp_prepare_req()
1258 for (i = 0; i < cryp->hw_blocksize / sizeof(u32); i++) { in stm32_cryp_irq_read_data()
1299 for (i = 0; i < cryp->hw_blocksize / sizeof(u32); i++) { in stm32_cryp_irq_write_block()
1411 cfg |= (cryp->hw_blocksize - payload_bytes) << CR_NBPBL_SHIFT; in stm32_cryp_irq_set_npblb()