mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Different crypto card types use different ways to re-encipher a secure key with a new master key. Generalize the handling of re-enciphering, so that the majority of the code does not have to care about the card type when dealing with it. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>