mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
After a master key change, it can happen that the AF_ALG setkey operation returns EINVAL, although the key is valid. This is a temporary situation and the operation will succeed, once the firmware has completed some internal processing related with the master key change. Delay 1 second and retry up to 10 times. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>