Searched refs:backup_iv (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/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-v5.10/drivers/crypto/allwinner/sun8i-ss/ |
D | sun8i-ss-cipher.c | 105 void *backup_iv = NULL; in sun8i_ss_cipher() local 143 backup_iv = kzalloc(ivsize, GFP_KERNEL); in sun8i_ss_cipher() 144 if (!backup_iv) { in sun8i_ss_cipher() 149 scatterwalk_map_and_copy(backup_iv, areq->src, offset, in sun8i_ss_cipher() 250 memcpy(areq->iv, backup_iv, ivsize); in sun8i_ss_cipher() 251 kfree_sensitive(backup_iv); in sun8i_ss_cipher()
|
/Linux-v5.10/drivers/crypto/allwinner/sun8i-ce/ |
D | sun8i-ce-cipher.c | 160 rctx->backup_iv = kzalloc(ivsize, GFP_KERNEL); in sun8i_ce_cipher_prepare() 161 if (!rctx->backup_iv) { in sun8i_ce_cipher_prepare() 166 scatterwalk_map_and_copy(rctx->backup_iv, areq->src, in sun8i_ce_cipher_prepare() 256 memcpy(areq->iv, rctx->backup_iv, ivsize); in sun8i_ce_cipher_prepare() 257 kfree_sensitive(rctx->backup_iv); in sun8i_ce_cipher_prepare() 319 memcpy(areq->iv, rctx->backup_iv, ivsize); in sun8i_ce_cipher_unprepare() 320 kfree_sensitive(rctx->backup_iv); in sun8i_ce_cipher_unprepare()
|
D | sun8i-ce.h | 254 void *backup_iv; member
|
/Linux-v5.10/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
|