Searched refs:backup_iv (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/drivers/crypto/amlogic/ |
D | amlogic-gxl-cipher.c | 101 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/ |
D | sun8i-ce-cipher.c | 200 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()
|
D | sun8i-ce.h | 200 void *backup_iv; member
|
D | sun8i-ce-core.c | 749 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/ |
D | sun4i-ss-cipher.c | 50 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()
|
D | sun4i-ss.h | 186 u8 backup_iv[AES_BLOCK_SIZE]; member
|
/Linux-v6.6/drivers/crypto/ccree/ |
D | cc_aead.c | 222 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 …]
|
D | cc_aead.h | 68 u8 *backup_iv; /* store orig iv */ member
|
/Linux-v6.6/drivers/crypto/rockchip/ |
D | rk3288_crypto_skcipher.c | 328 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()
|
D | rk3288_crypto.h | 253 u8 backup_iv[AES_BLOCK_SIZE]; member
|