mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Support KMS plugin specific options
Some commands requires additional options that are to be determined by the KMS plugin. Add support to let the KMS plugin provide an option vector per command, and add the options to the already existing command options. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
c6c4df9697
commit
3fa511cfb9
+10
@@ -47,4 +47,14 @@ int unbind_kms_plugin(struct kms_info *kms_info, struct keystore *keystore,
|
||||
|
||||
int print_kms_info(struct kms_info *kms_info);
|
||||
|
||||
int get_kms_options(struct kms_info *kms_info, struct util_opt *opt_vec,
|
||||
const char *placeholder_cmd, const char *plugin_command,
|
||||
const char *opt_vec_command, int *first_plugin_opt,
|
||||
bool verbose);
|
||||
|
||||
int handle_kms_option(struct kms_info *kms_info, struct util_opt *opt_vec,
|
||||
int first_kms_option, const char *command, int option,
|
||||
const char *optarg, struct kms_option **kms_options,
|
||||
size_t *num_kms_options, bool verbose);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user