path: root/arch/s390/include/uapi/asm/pkey.h
diff options
authorHarald Freudenberger <freude@linux.ibm.com>2019-07-03 13:16:51 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-08-21 12:58:54 +0200
commit4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd (patch)
treed61d54197d0e56b2df201270b281940846d43c5b /arch/s390/include/uapi/asm/pkey.h
parents390/zcrypt: extend cca_findcard function and helper (diff)
s390/zcrypt: Add low level functions for CCA AES cipher keys
This patch adds low level functions, structs and defines to support CCA AES cipher keys: - struct cipherkeytoken can be used for an inside view of the CCA AES cipher key token blob. - function cca_cipher2protkey() derives an CPACF protected key from an CCA AES cipher key. - function cca_gencipherkey() generates an CCA AES cipher key with random value. - function cca_findcard2() constructs a list of apqns based on input constrains like min hardware type, mkvp values. - cca_check_secaescipherkey() does a check on the given CCA AES cipher key blob. - cca_clr2cipherkey() generates an CCA AES cipher key from a given clear key value. Signed-off-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Ingo Franzki <ifranzki@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi/asm/pkey.h')
0 files changed, 0 insertions, 0 deletions