Skip to content

Commit 4ae4855

Browse files
Thomas Richterhcahca
authored andcommitted
s390/pai_crypto: Add support for MSA 10 and 11 pai counters
Update the internal array of PAI crypto counter string table with new counters supported with Message Security Assist extension (MSA) 10 and MSA 11. Signed-off-by: Thomas Richter <[email protected]> Acked-by: Sumanth Korikkar <[email protected]> Acked-by: Finn Callies <[email protected]> Tested-by: Finn Callies <[email protected]> Signed-off-by: Heiko Carstens <[email protected]>
1 parent ea31f1c commit 4ae4855

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

arch/s390/kernel/perf_pai_crypto.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -738,6 +738,22 @@ static const char * const paicrypt_ctrnames[] = {
738738
[154] = "PCKMO_ENCRYPT_ECC_ED448_KEY",
739739
[155] = "IBM_RESERVED_155",
740740
[156] = "IBM_RESERVED_156",
741+
[157] = "KM_FULL_XTS_AES_128",
742+
[158] = "KM_FULL_XTS_AES_256",
743+
[159] = "KM_FULL_XTS_ENCRYPTED_AES_128",
744+
[160] = "KM_FULL_XTS_ENCRYPTED_AES_256",
745+
[161] = "KMAC_HMAC_SHA_224",
746+
[162] = "KMAC_HMAC_SHA_256",
747+
[163] = "KMAC_HMAC_SHA_384",
748+
[164] = "KMAC_HMAC_SHA_512",
749+
[165] = "KMAC_HMAC_ENCRYPTED_SHA_224",
750+
[166] = "KMAC_HMAC_ENCRYPTED_SHA_256",
751+
[167] = "KMAC_HMAC_ENCRYPTED_SHA_384",
752+
[168] = "KMAC_HMAC_ENCRYPTED_SHA_512",
753+
[169] = "PCKMO_ENCRYPT_HMAC_512_KEY",
754+
[170] = "PCKMO_ENCRYPT_HMAC_1024_KEY",
755+
[171] = "PCKMO_ENCRYPT_AES_XTS_128",
756+
[172] = "PCKMO_ENCRYPT_AES_XTS_256",
741757
};
742758

743759
static void __init attr_event_free(struct attribute **attrs, int num)

0 commit comments

Comments
 (0)