s390/cpacf: Add MSA 10 and 11 new PCKMO functions
Add the defines for the new PCKMO functions covering MSA 10 (AES XTS "double" keys) and MSA 11 (HMAC keys) support. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
This commit is contained in:
committed by
Heiko Carstens
parent
131b8db785
commit
8fe32188f9
@@ -132,18 +132,22 @@
|
||||
* Function codes for the PCKMO (PERFORM CRYPTOGRAPHIC KEY MANAGEMENT)
|
||||
* instruction
|
||||
*/
|
||||
#define CPACF_PCKMO_QUERY 0x00
|
||||
#define CPACF_PCKMO_ENC_DES_KEY 0x01
|
||||
#define CPACF_PCKMO_ENC_TDES_128_KEY 0x02
|
||||
#define CPACF_PCKMO_ENC_TDES_192_KEY 0x03
|
||||
#define CPACF_PCKMO_ENC_AES_128_KEY 0x12
|
||||
#define CPACF_PCKMO_ENC_AES_192_KEY 0x13
|
||||
#define CPACF_PCKMO_ENC_AES_256_KEY 0x14
|
||||
#define CPACF_PCKMO_ENC_ECC_P256_KEY 0x20
|
||||
#define CPACF_PCKMO_ENC_ECC_P384_KEY 0x21
|
||||
#define CPACF_PCKMO_ENC_ECC_P521_KEY 0x22
|
||||
#define CPACF_PCKMO_ENC_ECC_ED25519_KEY 0x28
|
||||
#define CPACF_PCKMO_ENC_ECC_ED448_KEY 0x29
|
||||
#define CPACF_PCKMO_QUERY 0x00
|
||||
#define CPACF_PCKMO_ENC_DES_KEY 0x01
|
||||
#define CPACF_PCKMO_ENC_TDES_128_KEY 0x02
|
||||
#define CPACF_PCKMO_ENC_TDES_192_KEY 0x03
|
||||
#define CPACF_PCKMO_ENC_AES_128_KEY 0x12
|
||||
#define CPACF_PCKMO_ENC_AES_192_KEY 0x13
|
||||
#define CPACF_PCKMO_ENC_AES_256_KEY 0x14
|
||||
#define CPACF_PCKMO_ENC_AES_XTS_128_DOUBLE_KEY 0x15
|
||||
#define CPACF_PCKMO_ENC_AES_XTS_256_DOUBLE_KEY 0x16
|
||||
#define CPACF_PCKMO_ENC_ECC_P256_KEY 0x20
|
||||
#define CPACF_PCKMO_ENC_ECC_P384_KEY 0x21
|
||||
#define CPACF_PCKMO_ENC_ECC_P521_KEY 0x22
|
||||
#define CPACF_PCKMO_ENC_ECC_ED25519_KEY 0x28
|
||||
#define CPACF_PCKMO_ENC_ECC_ED448_KEY 0x29
|
||||
#define CPACF_PCKMO_ENC_HMAC_512_KEY 0x76
|
||||
#define CPACF_PCKMO_ENC_HMAC_1024_KEY 0x7a
|
||||
|
||||
/*
|
||||
* Function codes for the PRNO (PERFORM RANDOM NUMBER OPERATION)
|
||||
|
||||
Reference in New Issue
Block a user