]> git.dujemihanovic.xyz Git - linux.git/commit
s390/crypto: remove retry loop with sleep from PAES pkey invocation
authorHarald Freudenberger <freude@linux.ibm.com>
Thu, 8 Feb 2024 07:34:25 +0000 (08:34 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 7 Mar 2024 13:41:15 +0000 (14:41 +0100)
commited6776c96c60ffe92e79e8f18bf5afd2f6e0eb79
tree47f18eeecb9c90d0043936510441115c085127aa
parent5dabfecad4a0868201af2ffb69dcd3223f9ca630
s390/crypto: remove retry loop with sleep from PAES pkey invocation

Upon calling the pkey module to (re-)derive an protected
key from a secure key the PAES implementation did a retry
3 times with an 1000 ms sleep after each failure. This
patch removes this retry loop - retries should be done
if needed in a lower layer but the consumer of the pkey
module functions should not be bothered with retries.

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>
arch/s390/crypto/paes_s390.c