aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/uapi/asm
diff options
context:
space:
mode:
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
parents390/zcrypt: extend cca_findcard function and helper (diff)
downloadlinux-dev-4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd.tar.xz
linux-dev-4bc123b18ce6ae6c42c69d0456b5acbd2f7bc8bd.zip
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')
0 files changed, 0 insertions, 0 deletions