Lines Matching refs:in_len

330 	if (!pkt->in_len) {  in crypto_si32_dma_setup_tx()
335 if (pkt->in_len % 16) { in crypto_si32_dma_setup_tx()
340 dma_block_cfg.block_size = pkt->in_len - in_buf_offset; in crypto_si32_dma_setup_tx()
406 if (!pkt->in_len) { in crypto_si32_dma_setup_rx()
411 if (pkt->in_len % 16) { in crypto_si32_dma_setup_rx()
420 if ((pkt->out_buf_max - out_buf_offset) < (pkt->in_len - in_buf_offset)) { in crypto_si32_dma_setup_rx()
429 dma_block_cfg.block_size = pkt->in_len - in_buf_offset; in crypto_si32_dma_setup_rx()
495 if (!pkt->in_len) { in crypto_si32_dma_setup_xor()
500 if (pkt->in_len % 16) { in crypto_si32_dma_setup_xor()
505 dma_block_cfg.block_size = pkt->in_len; in crypto_si32_dma_setup_xor()
581 if (pkt->in_len % 16) { in crypto_si32_aes_ecb_op()
586 if (pkt->in_len > 16) { in crypto_si32_aes_ecb_op()
591 if (pkt->in_len == 0) { in crypto_si32_aes_ecb_op()
618 SI32_AES_A_write_xfrsize(SI32_AES_0, pkt->in_len / AES_BLOCK_SIZE - 1); in crypto_si32_aes_ecb_op()
692 pkt->out_len = pkt->in_len; in crypto_si32_aes_ecb_op()
717 if (pkt->in_len % 16) { in crypto_si32_aes_cbc_op()
722 if (pkt->in_len == 0) { in crypto_si32_aes_cbc_op()
776 SI32_AES_A_write_xfrsize(SI32_AES_0, (pkt->in_len - in_buf_offset) / AES_BLOCK_SIZE - 1); in crypto_si32_aes_cbc_op()
868 pkt->out_len = pkt->in_len - in_buf_offset + out_buf_offset; in crypto_si32_aes_cbc_op()
890 if (pkt->in_len % 16) { in crypto_si32_aes_ctr_op()
895 if (pkt->in_len == 0) { in crypto_si32_aes_ctr_op()
935 SI32_AES_A_write_xfrsize(SI32_AES_0, pkt->in_len / AES_BLOCK_SIZE - 1); in crypto_si32_aes_ctr_op()
997 pkt->out_len = pkt->in_len; in crypto_si32_aes_ctr_op()