Searched refs:trailerlen (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/ |
H A D | hash.c | 217 int trailerlen = mv_cesa_ahash_pad_len(creq) + 8; in mv_cesa_ahash_std_step() local 219 if (len + trailerlen > CESA_SA_SRAM_PAYLOAD_SIZE) { in mv_cesa_ahash_std_step() 221 new_cache_ptr = 64 - trailerlen; in mv_cesa_ahash_std_step() 527 unsigned int len, trailerlen, padoff = 0; in mv_cesa_ahash_dma_last_req() local 565 trailerlen = mv_cesa_ahash_pad_req(creq, ahashdreq->padding); in mv_cesa_ahash_dma_last_req() 567 len = min(CESA_SA_SRAM_PAYLOAD_SIZE - frag_len, trailerlen); in mv_cesa_ahash_dma_last_req() 583 if (len == trailerlen) in mv_cesa_ahash_dma_last_req() 593 trailerlen - padoff, in mv_cesa_ahash_dma_last_req() 599 return mv_cesa_dma_add_frag(chain, &creq->op_tmpl, trailerlen - padoff, in mv_cesa_ahash_dma_last_req()
|
/kernel/linux/linux-6.6/drivers/crypto/marvell/cesa/ |
H A D | hash.c | 226 int trailerlen = mv_cesa_ahash_pad_len(creq) + 8; in mv_cesa_ahash_std_step() local 228 if (len + trailerlen > CESA_SA_SRAM_PAYLOAD_SIZE) { in mv_cesa_ahash_std_step() 230 new_cache_ptr = 64 - trailerlen; in mv_cesa_ahash_std_step() 551 unsigned int len, trailerlen, padoff = 0; in mv_cesa_ahash_dma_last_req() local 589 trailerlen = mv_cesa_ahash_pad_req(creq, ahashdreq->padding); in mv_cesa_ahash_dma_last_req() 591 len = min(CESA_SA_SRAM_PAYLOAD_SIZE - frag_len, trailerlen); in mv_cesa_ahash_dma_last_req() 607 if (len == trailerlen) in mv_cesa_ahash_dma_last_req() 617 trailerlen - padoff, in mv_cesa_ahash_dma_last_req() 623 return mv_cesa_dma_add_frag(chain, &creq->op_tmpl, trailerlen - padoff, in mv_cesa_ahash_dma_last_req()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 948 u32 netlen, trailerlen = 0; in ath6kl_htc_pipe_rx_complete() local 1008 trailerlen = hdr_info; in ath6kl_htc_pipe_rx_complete() 1018 if (((int) payload_len - (int) trailerlen) <= 0) { in ath6kl_htc_pipe_rx_complete() 1075 packet->act_len = netlen - HTC_HDR_LENGTH - trailerlen; in ath6kl_htc_pipe_rx_complete()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | htc_pipe.c | 948 u32 netlen, trailerlen = 0; in ath6kl_htc_pipe_rx_complete() local 1008 trailerlen = hdr_info; in ath6kl_htc_pipe_rx_complete() 1018 if (((int) payload_len - (int) trailerlen) <= 0) { in ath6kl_htc_pipe_rx_complete() 1075 packet->act_len = netlen - HTC_HDR_LENGTH - trailerlen; in ath6kl_htc_pipe_rx_complete()
|
Completed in 8 milliseconds