zkey: Add function to print the MKVPs of APQNs

Add a utility function to print the master key verification patterns
of a set of APQNs. This allows the user to visually check which
master keys are set on which APQNs.

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:
Ingo Franzki
2019-06-13 16:26:55 +02:00
committed by Jan Höppner
parent 625b81130a
commit bfc3dd018c
2 changed files with 82 additions and 0 deletions
+2
View File
@@ -46,4 +46,6 @@ typedef int(*apqn_handler_t) (int card, int domain, void *handler_data);
int handle_apqns(const char *apqns, apqn_handler_t handler, void *handler_data,
bool verbose);
int print_mk_info(const char *apqns, bool verbose);
#endif