mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zkey: Add support for validating AES CIPHER keys
Add support for validating secure keys using the new pkey IOCTLs. This allows to validate secure keys of type CCA-AESDATA as well as CCA-AESCIPHER. 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
b56c74fe7b
commit
0fab6bdf2a
+1
-1
@@ -251,7 +251,7 @@ int write_secure_key(const char *keyfile, const u8 *secure_key,
|
||||
int validate_secure_key(int pkey_fd,
|
||||
u8 *secure_key, size_t secure_key_size,
|
||||
size_t *clear_key_bitsize, int *is_old_mk,
|
||||
bool verbose);
|
||||
const char **apqns, bool verbose);
|
||||
|
||||
int generate_key_verification_pattern(const u8 *key, size_t key_size,
|
||||
char *vp, size_t vp_len, bool verbose);
|
||||
|
||||
Reference in New Issue
Block a user