mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Add keystore related commands
Add new commands to the zkey utility to store secure AES keys in the secure key repository provided by the keystore implementation introduced in the previous commit. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
c944f23d7e
commit
e2f92e4079
19
zkey/misc.h
19
zkey/misc.h
@@ -3,7 +3,7 @@
|
||||
*
|
||||
* Local helper functions
|
||||
*
|
||||
* Copyright 2017 IBM Corp.
|
||||
* Copyright IBM Corp. 2017, 2018
|
||||
*
|
||||
* s390-tools is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the MIT license. See LICENSE for details.
|
||||
@@ -37,7 +37,7 @@ void misc_print_invalid_command(const char *command)
|
||||
/**
|
||||
* An required parameter has not been specified
|
||||
*
|
||||
* @param[in] option Parameter string
|
||||
* @param[in] parm_name Parameter string
|
||||
*/
|
||||
void misc_print_required_parm(const char *parm_name)
|
||||
{
|
||||
@@ -45,4 +45,17 @@ void misc_print_required_parm(const char *parm_name)
|
||||
util_prg_print_parse_error();
|
||||
}
|
||||
|
||||
#endif
|
||||
/**
|
||||
* An required parameter has not been specified
|
||||
*
|
||||
* @param[in] parm_name1 Parameter string 1
|
||||
* @param[in] parm_name2 Parameter string 2
|
||||
*/
|
||||
static void misc_print_required_parms(const char *parm_name1,
|
||||
const char *parm_name2)
|
||||
{
|
||||
warnx("Parameter '%s' or '%s' is required", parm_name1, parm_name2);
|
||||
util_prg_print_parse_error();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
1072
zkey/zkey.c
1072
zkey/zkey.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user