2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00
linux/drivers/crypto/virtio
Christophe JAILLET fb14ef46e2 crypto: virtio - Erase some sensitive memory when it is freed
virtcrypto_clear_request() does the same as the code here, but uses
kfree_sensitive() for one of the free operation.

So, better safe than sorry, use virtcrypto_clear_request() directly to
save a few lines of code and cleanly free the memory.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Tested-by: Lei Yang <leiyang@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-03-15 15:08:54 +08:00
..
Kconfig virtio-crypto: implement RSA algorithm 2022-03-28 16:52:58 -04:00
Makefile virtio-crypto: rename skcipher algs 2022-03-28 16:52:58 -04:00
virtio_crypto_akcipher_algs.c crypto: virtio - Drop superfluous [as]kcipher_req pointer 2025-02-22 15:56:02 +08:00
virtio_crypto_common.h crypto: virtio - Handle dataq logic with tasklet 2023-12-01 18:03:26 +08:00
virtio_crypto_core.c crypto: virtio - Erase some sensitive memory when it is freed 2025-03-15 15:08:54 +08:00
virtio_crypto_mgr.c crypto: virtio - Fix kernel-doc of virtcrypto_dev_stop() 2025-02-22 15:56:02 +08:00
virtio_crypto_skcipher_algs.c crypto: virtio - Drop superfluous [as]kcipher_req pointer 2025-02-22 15:56:02 +08:00