mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
s390/crypto: Add protected key hmac subfunctions for KMAC
The CPACF KMAC instruction supports new subfunctions for protected key hmac. Add defines for these 4 new subfuctions. Signed-off-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Holger Dengler <dengler@linux.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
2f8839e6c5
commit
86ca5cb84f
1 changed files with 4 additions and 0 deletions
|
@ -129,6 +129,10 @@
|
|||
#define CPACF_KMAC_HMAC_SHA_256 0x71
|
||||
#define CPACF_KMAC_HMAC_SHA_384 0x72
|
||||
#define CPACF_KMAC_HMAC_SHA_512 0x73
|
||||
#define CPACF_KMAC_PHMAC_SHA_224 0x78
|
||||
#define CPACF_KMAC_PHMAC_SHA_256 0x79
|
||||
#define CPACF_KMAC_PHMAC_SHA_384 0x7a
|
||||
#define CPACF_KMAC_PHMAC_SHA_512 0x7b
|
||||
|
||||
/*
|
||||
* Function codes for the PCKMO (PERFORM CRYPTOGRAPHIC KEY MANAGEMENT)
|
||||
|
|
Loading…
Add table
Reference in a new issue