Lines Matching refs:tmp_len
939 u32 reg_ctrl = 0, tmp_len = 0; in hw_cipher_crypt() local
950 tmp_len = (rk_mode == RK_MODE_CTR) ? ROUNDUP(len, AES_BLOCK_SIZE) : len; in hw_cipher_crypt()
956 if (IS_ALIGNED((ulong)in, DATA_ADDR_ALIGN_SIZE) && tmp_len == len) in hw_cipher_crypt()
959 dma_in = align_malloc(tmp_len, DATA_ADDR_ALIGN_SIZE); in hw_cipher_crypt()
965 tmp_len == len) in hw_cipher_crypt()
968 dma_out = align_malloc(tmp_len, DATA_ADDR_ALIGN_SIZE); in hw_cipher_crypt()
971 dst_len = tmp_len; in hw_cipher_crypt()
979 data_desc->src_len = tmp_len; in hw_cipher_crypt()
1033 ccm_compose_aad_iv(aad_tmp, tmp_len, aad_len, tag_len); in hw_cipher_crypt()
1052 set_pc_len_reg(key_chn, tmp_len); in hw_cipher_crypt()
1069 cache_op_inner(DCACHE_AREA_CLEAN, dma_in, tmp_len); in hw_cipher_crypt()
1070 cache_op_inner(DCACHE_AREA_INVALIDATE, dma_out, tmp_len); in hw_cipher_crypt()