WSL2-Linux-Kernel/drivers/s390/crypto
Holger Dengler 4889f11775 s390/pkey: Wipe sensitive data on failure
[ Upstream commit 1d8c270de5eb74245d72325d285894a577a945d9 ]

Wipe sensitive data from stack also if the copy_to_user() fails.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com>
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-18 13:07:30 +02:00
..
Makefile
ap_bus.c s390/ap: Fix crash in AP internal function modify_bitmap() 2024-06-16 13:40:00 +02:00
ap_bus.h
ap_card.c
ap_debug.h
ap_queue.c
pkey_api.c s390/pkey: Wipe sensitive data on failure 2024-07-18 13:07:30 +02:00
vfio_ap_drv.c
vfio_ap_ops.c
vfio_ap_private.h
zcrypt_api.c s390/zcrypt: fix reference counting on zcrypt card objects 2024-04-10 16:18:42 +02:00
zcrypt_api.h
zcrypt_card.c
zcrypt_cca_key.h
zcrypt_ccamisc.c
zcrypt_ccamisc.h
zcrypt_cex2a.c
zcrypt_cex2a.h
zcrypt_cex2c.c
zcrypt_cex2c.h
zcrypt_cex4.c
zcrypt_cex4.h
zcrypt_debug.h
zcrypt_ep11misc.c s390/pkey: fix/harmonize internal keyblob headers 2023-09-19 12:22:31 +02:00
zcrypt_ep11misc.h s390/pkey: fix/harmonize internal keyblob headers 2023-09-19 12:22:31 +02:00
zcrypt_error.h
zcrypt_msgtype6.c
zcrypt_msgtype6.h
zcrypt_msgtype50.c
zcrypt_msgtype50.h
zcrypt_queue.c