summaryrefslogtreecommitdiffstats
path: root/arch/s390/crypto/paes_s390.c
diff options
context:
space:
mode:
authorHarald Freudenberger <freude@linux.ibm.com>2024-02-08 10:33:35 +0100
committerHeiko Carstens <hca@linux.ibm.com>2024-03-07 14:41:15 +0100
commit5dabfecad4a0868201af2ffb69dcd3223f9ca630 (patch)
treea314b1c36b029de3cdd1a7bcfbe839fe395cdd84 /arch/s390/crypto/paes_s390.c
parents390/zcrypt: improve zcrypt retry behavior (diff)
downloadlinux-5dabfecad4a0868201af2ffb69dcd3223f9ca630.tar.xz
linux-5dabfecad4a0868201af2ffb69dcd3223f9ca630.zip
s390/pkey: improve pkey retry behavior
This patch reworks and improves the pkey retry behavior for the pkey_ep11key2pkey() function. In contrast to the pkey_skey2pkey() function which is used to trigger a protected key derivation from an CCA secure data or cipher key the EP11 counterpart function had no proper retry loop implemented. This patch now introduces code which acts similar to the retry already done for CCA keys for this function used for EP11 keys. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/crypto/paes_s390.c')
0 files changed, 0 insertions, 0 deletions