mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Allow to specify the key type with the generate command
The zkey generate command allows to specify the --key-type|-K option to specify the key type. If not specified, then the default is CCA-AESDATA. 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>
This commit is contained in:
committed by
Jan Höppner
parent
91c35543ca
commit
b47007b8ac
+3
-3
@@ -103,12 +103,12 @@ struct pkey_verifykey {
|
||||
int open_pkey_device(bool verbose);
|
||||
|
||||
int generate_secure_key_random(int pkey_fd, const char *keyfile,
|
||||
size_t keybits, bool xts, u16 card, u16 domain,
|
||||
bool verbose);
|
||||
size_t keybits, bool xts, const char *key_type,
|
||||
u16 card, u16 domain, bool verbose);
|
||||
|
||||
int generate_secure_key_clear(int pkey_fd, const char *keyfile,
|
||||
size_t keybits, bool xts,
|
||||
const char *clearkeyfile,
|
||||
const char *clearkeyfile, const char *key_type,
|
||||
u16 card, u16 domain,
|
||||
bool verbose);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user