Home
last modified time | relevance | path

Searched refs:backup_iv (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/crypto/amlogic/
Damlogic-gxl-cipher.c101 void *backup_iv = NULL, *bkeyiv; in meson_cipher() local
139 backup_iv = kzalloc(ivsize, GFP_KERNEL); in meson_cipher()
140 if (!backup_iv) { in meson_cipher()
145 scatterwalk_map_and_copy(backup_iv, areq->src, offset, in meson_cipher()
247 memcpy(areq->iv, backup_iv, ivsize); in meson_cipher()
256 kfree_sensitive(backup_iv); in meson_cipher()
/Linux-v6.6/drivers/crypto/allwinner/sun8i-ce/
Dsun8i-ce-cipher.c200 scatterwalk_map_and_copy(chan->backup_iv, areq->src, in sun8i_ce_cipher_prepare()
287 memcpy(areq->iv, chan->backup_iv, ivsize); in sun8i_ce_cipher_prepare()
288 memzero_explicit(chan->backup_iv, ivsize); in sun8i_ce_cipher_prepare()
351 memcpy(areq->iv, chan->backup_iv, ivsize); in sun8i_ce_cipher_unprepare()
352 memzero_explicit(chan->backup_iv, ivsize); in sun8i_ce_cipher_unprepare()
Dsun8i-ce.h200 void *backup_iv; member
Dsun8i-ce-core.c749 ce->chanlist[i].backup_iv = devm_kmalloc(ce->dev, AES_BLOCK_SIZE, in sun8i_ce_allocate_chanlist()
751 if (!ce->chanlist[i].backup_iv) { in sun8i_ce_allocate_chanlist()
/Linux-v6.6/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-cipher.c50 scatterwalk_map_and_copy(ctx->backup_iv, areq->src, in sun4i_ss_opti_poll()
134 memcpy(areq->iv, ctx->backup_iv, ivsize); in sun4i_ss_opti_poll()
135 memzero_explicit(ctx->backup_iv, ivsize); in sun4i_ss_opti_poll()
243 scatterwalk_map_and_copy(ctx->backup_iv, areq->src, in sun4i_ss_cipher_poll()
381 memcpy(areq->iv, ctx->backup_iv, ivsize); in sun4i_ss_cipher_poll()
382 memzero_explicit(ctx->backup_iv, ivsize); in sun4i_ss_cipher_poll()
Dsun4i-ss.h186 u8 backup_iv[AES_BLOCK_SIZE]; member
/Linux-v6.6/drivers/crypto/ccree/
Dcc_aead.c222 areq->iv = areq_ctx->backup_iv; in cc_aead_complete()
2028 areq_ctx->backup_iv = req->iv; in cc_aead_encrypt()
2033 req->iv = areq_ctx->backup_iv; in cc_aead_encrypt()
2052 areq_ctx->backup_iv = req->iv; in cc_rfc4309_ccm_encrypt()
2059 req->iv = areq_ctx->backup_iv; in cc_rfc4309_ccm_encrypt()
2072 areq_ctx->backup_iv = req->iv; in cc_aead_decrypt()
2077 req->iv = areq_ctx->backup_iv; in cc_aead_decrypt()
2094 areq_ctx->backup_iv = req->iv; in cc_rfc4309_ccm_decrypt()
2101 req->iv = areq_ctx->backup_iv; in cc_rfc4309_ccm_decrypt()
2206 areq_ctx->backup_iv = req->iv; in cc_rfc4106_gcm_encrypt()
[all …]
Dcc_aead.h68 u8 *backup_iv; /* store orig iv */ member
/Linux-v6.6/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c328 scatterwalk_map_and_copy(rctx->backup_iv, areq->src, in rk_cipher_run()
407 memcpy(areq->iv, rctx->backup_iv, ivsize); in rk_cipher_run()
408 memzero_explicit(rctx->backup_iv, ivsize); in rk_cipher_run()
Drk3288_crypto.h253 u8 backup_iv[AES_BLOCK_SIZE]; member