linux_dsm_epyc7002/arch/s390/include/uapi/asm
Harald Freudenberger 55d0a513a0 s390/pkey/zcrypt: Support EP11 AES secure keys
Extend the low level ep11 misc functions implementation by
several functions to support EP11 key objects for paes and pkey:
- EP11 AES secure key generation
- EP11 AES secure key generation from given clear key value
- EP11 AES secure key blob check
- findcard function returns list of apqns based on given criterias
- EP11 AES secure key derive to CPACF protected key

Extend the pkey module to be able to generate and handle EP11
secure keys and also use them as base for deriving protected
keys for CPACF usage. These ioctls are extended to support
EP11 keys: PKEY_GENSECK2, PKEY_CLR2SECK2, PKEY_VERIFYKEY2,
PKEY_APQNS4K, PKEY_APQNS4KT, PKEY_KBLOB2PROTK2.

Additionally the 'clear key' token to protected key now uses
an EP11 card if the other ways (via PCKMO, via CCA) fail.

The PAES cipher implementation needed a new upper limit for
the max key size, but is now also working with EP11 keys.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
2020-01-30 13:07:56 +01:00
..
auxvec.h
bitsperlong.h
bpf_perf_event.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
byteorder.h
chpid.h
chsc.h
clp.h
cmb.h
dasd.h s390/dasd: Add new ioctl to release space 2019-07-11 20:39:54 +02:00
debug.h
guarded_storage.h
hypfs.h
ioctls.h
ipcbuf.h arch: ipcbuf.h: make uapi asm/ipcbuf.h self-contained 2019-12-04 19:44:14 -08:00
ipl.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
Kbuild
kvm_para.h
kvm_perf.h
kvm.h KVM: s390: Disallow invalid bits in kvm_valid_regs and kvm_dirty_regs 2019-09-04 15:38:05 +02:00
monwriter.h
perf_regs.h
pkey.h s390/pkey/zcrypt: Support EP11 AES secure keys 2020-01-30 13:07:56 +01:00
posix_types.h
ptrace.h
qeth.h
runtime_instr.h s390: fix unrecognized __aligned() in uapi header 2019-06-07 10:09:51 +02:00
schid.h
sclp_ctl.h
setup.h
sie.h
sigcontext.h
signal.h
stat.h
statfs.h
sthyi.h
tape390.h
termios.h
types.h
ucontext.h
unistd.h
virtio-ccw.h
vmcp.h
vtoc.h
zcrypt.h s390/zcrypt: ep11 structs rework, export zcrypt_send_ep11_cprb 2020-01-30 13:07:55 +01:00