diff options
author | Harald Freudenberger <freude@linux.ibm.com> | 2024-02-08 10:33:35 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-03-07 14:41:15 +0100 |
commit | 5dabfecad4a0868201af2ffb69dcd3223f9ca630 (patch) | |
tree | a314b1c36b029de3cdd1a7bcfbe839fe395cdd84 /arch/s390/crypto | |
parent | s390/zcrypt: improve zcrypt retry behavior (diff) | |
download | linux-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')
0 files changed, 0 insertions, 0 deletions