Home
last modified time | relevance | path

Searched refs:bounce_iv (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c155 rctx->bounce_iv = kzalloc(ivsize, GFP_KERNEL | GFP_DMA); in sun8i_ce_cipher_prepare()
156 if (!rctx->bounce_iv) { in sun8i_ce_cipher_prepare()
170 memcpy(rctx->bounce_iv, areq->iv, ivsize); in sun8i_ce_cipher_prepare()
171 rctx->addr_iv = dma_map_single(ce->dev, rctx->bounce_iv, rctx->ivlen, in sun8i_ce_cipher_prepare()
263 kfree(rctx->bounce_iv); in sun8i_ce_cipher_prepare()
328 kfree(rctx->bounce_iv); in sun8i_ce_cipher_unprepare()
H A Dsun8i-ce.h243 * @bounce_iv: buffer which contain the IV
244 * @ivlen: size of bounce_iv
255 void *bounce_iv; member
/kernel/linux/linux-6.6/drivers/crypto/allwinner/sun8i-ce/
H A Dsun8i-ce-cipher.c203 memcpy(chan->bounce_iv, areq->iv, ivsize); in sun8i_ce_cipher_prepare()
204 rctx->addr_iv = dma_map_single(ce->dev, chan->bounce_iv, rctx->ivlen, in sun8i_ce_cipher_prepare()
293 memzero_explicit(chan->bounce_iv, ivsize); in sun8i_ce_cipher_prepare()
357 memzero_explicit(chan->bounce_iv, ivsize); in sun8i_ce_cipher_unprepare()
H A Dsun8i-ce.h190 * @bounce_iv: buffer which contain the IV
201 void *bounce_iv; member
248 * @ivlen: size of bounce_iv
H A Dsun8i-ce-core.c743 ce->chanlist[i].bounce_iv = devm_kmalloc(ce->dev, AES_BLOCK_SIZE, in sun8i_ce_allocate_chanlist()
745 if (!ce->chanlist[i].bounce_iv) { in sun8i_ce_allocate_chanlist()

Completed in 5 milliseconds