linux-stable/drivers/s390
Harald Freudenberger 9e436c195e s390/pkey: add support for ecc clear key
Add support for a new 'non CCA clear key token' with these
ECC clear keys supported:

- ECC P256
- ECC P384
- ECC P521
- ECC ED25519
- ECC ED448

This makes it possible to derive a protected key from this
ECC clear key input via PKEY_KBLOB2PROTK3 ioctl. As of now
the only way to derive protected keys from these clear key
tokens is via PCKMO instruction. For AES keys an alternate
path via creating a secure key from the clear key and then
derive a protected key from the secure key exists. This
alternate path is not implemented for ECC keys as it would
require to rearrange and maybe recalculate the clear key
material for input to derive an CCA or EP11 ECC secure key.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
2023-06-01 17:10:21 +02:00
..
block s390/dasd: fix hanging blockdevice after request requeue 2023-04-11 19:53:08 -06:00
char s390 updates for the 6.4 merge window 2023-04-30 11:43:31 -07:00
cio s390/cio: replace zero-length array with flexible-array member 2023-04-13 17:36:29 +02:00
crypto s390/pkey: add support for ecc clear key 2023-06-01 17:10:21 +02:00
net net/ism: Remove redundant pci_clear_master 2023-03-24 09:13:42 +00:00
scsi scsi: zfcp: Declare SCSI host template const 2023-03-24 19:19:20 -04:00
virtio virtio: add VIRTIO_F_NOTIFICATION_DATA feature support 2023-04-21 03:02:35 -04:00
Makefile