mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
KMS plugins that support multiple key types need to know which key type to produce with the kms_import_key() function. Extend the plugin API to allow a plugin to provide a kms_import_key2() function, that accepts the key type as additional parameter. Existing plugins do not need to be changed, as the old function kms_import_key() still exists, and is still used when the plugin does not provide a kms_import_key2() function. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
25 KiB
25 KiB