path: root/arch/s390/include/uapi/asm
diff options
authorIngo Franzki <ifranzki@linux.ibm.com>2018-08-24 08:29:43 (GMT)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2018-10-10 05:37:17 (GMT)
commitaf504452d10ece7c6d68bc9f90f478ebecd7ce76 (patch)
tree904566d846351ce6bff8fa1d454dd67f6ae81de1 /arch/s390/include/uapi/asm
parentd632c0478d64427cfbca999955e02b26986ae09e (diff)
s390/pkey: Add sysfs attributes to emit secure key blobs
Add binary read-only sysfs attributes for the pkey module that can be used to read random ccadata secure keys from. Keys are read from these attributes using a cat-like interface. A typical use case for those keys is to encrypt a swap device using the paes cipher. During processing of /etc/crypttab, the random random ccadata secure key to encrypt the swap device is read from one of the attributes. The following attributes are added: ccadata/aes_128 ccadata/aes_192 ccadata/aes_256 ccadata/aes_128_xts ccadata/aes_256_xts Each attribute emits a secure key blob for the corresponding key size and cipher mode. Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com> Reviewed-by: Harald Freudenberger <freude@linux.ibm.com> Reviewed-by: Hendrik Brueckner <brueckner@linux.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/include/uapi/asm')
0 files changed, 0 insertions, 0 deletions

Privacy Policy