linux/drivers/s390/crypto
Harald Freudenberger 4da57a2fea s390/zcrypt: extend cca_findcard function and helper
Rework and extension of the cca_findcard function to be prepared for
other types of secure key blobs. Split the function and extract an
internal function which has no awareness of key blobs any
more. Improve this function and the helper code around to be able to
check for a minimal crypto card hardware level (Background: the newer
AES cipher keys need to match to the master key verification pattern
and need to have a crypto card CEX6 or higher).

No API change, neither for the in-kernel API nor the ioctl interface.

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>
2019-08-21 12:58:54 +02:00
..
ap_bus.c s390 updates for the 5.3 merge window #2 2019-07-12 15:39:22 -07:00
ap_bus.h s390/zcrypt: Fix wrong dispatching for control domain CPRBs 2019-05-28 14:49:38 +02:00
ap_card.c s390/zcrypt: code beautify 2018-08-20 16:02:11 +02:00
ap_debug.h s390/zcrypt: Make ap init functions static. 2018-04-10 07:39:01 +02:00
ap_queue.c s390/zcrypt: fix possible deadlock situation on ap queue remove 2019-04-10 17:46:24 +02:00
Makefile s390/zcrypt: move cca misc functions to new code file 2019-07-29 18:14:17 +02:00
pkey_api.c s390/pkey: pkey cleanup: narrow in-kernel API, fix some variable types 2019-08-21 12:58:53 +02:00
vfio_ap_drv.c s390: ap: implement PAPQ AQIC interception in kernel 2019-07-02 16:00:28 +02:00
vfio_ap_ops.c s390 updates for the 5.3 merge window #2 2019-07-12 15:39:22 -07:00
vfio_ap_private.h s390: ap: implement PAPQ AQIC interception in kernel 2019-07-02 16:00:28 +02:00
zcrypt_api.c s390/zcrypt: extend cca_findcard function and helper 2019-08-21 12:58:54 +02:00
zcrypt_api.h s390/zcrypt: extend cca_findcard function and helper 2019-08-21 12:58:54 +02:00
zcrypt_card.c s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cca_key.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_ccamisc.c s390/zcrypt: extend cca_findcard function and helper 2019-08-21 12:58:54 +02:00
zcrypt_ccamisc.h s390/zcrypt: extend cca_findcard function and helper 2019-08-21 12:58:54 +02:00
zcrypt_cex2a.c s390/zcrypt: reinit ap queue state machine during device probe 2018-11-27 10:43:35 +01:00
zcrypt_cex2a.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cex2c.c s390/zcrypt: reinit ap queue state machine during device probe 2018-11-27 10:43:35 +01:00
zcrypt_cex2c.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_cex4.c s390/zcrypt: new sysfs attributes serialnr and mkvps 2019-07-29 18:14:17 +02:00
zcrypt_cex4.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_debug.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
zcrypt_error.h s390/zcrypt: improve special ap message cmd handling 2018-11-30 07:22:05 +01:00
zcrypt_msgtype6.c s390/zcrypt: support special flagged EP11 cprbs 2019-06-07 10:09:55 +02:00
zcrypt_msgtype6.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_msgtype50.c s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_msgtype50.h s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00
zcrypt_queue.c s390/zcrypt: zcrypt device driver cleanup 2018-10-09 11:21:35 +02:00