s390/zcrypt: add new low level ep11 functions support file
authorHarald Freudenberger <freude@linux.ibm.com>
Fri, 30 Aug 2019 14:07:08 +0000 (16:07 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 30 Jan 2020 12:07:55 +0000 (13:07 +0100)
commit7384eb725e2d55649850331a560bac2d48ed5002
tree7090130b6a88f80daffe725c3f10aa43417c230d
parenta7367997abb64b5e5a4f6fe6091629440b10da40
s390/zcrypt: add new low level ep11 functions support file

This patch introduces two new files which provide some
low level functions to interact with EP11 crypto cards:

ep11_get_card_info() sends an EP11 query module info CPRB to the
  addressed card, processes the returning reply and exposes some of
  the information returned in the new ep11_card_info struct.

ep11_get_domain_info() sends an EP11 query domain info CPRB to the
  addressed card/queue, processes the returning reply and exposes some
  of the information returned in the new ep11_domain_info struct.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/Makefile
drivers/s390/crypto/zcrypt_api.c
drivers/s390/crypto/zcrypt_ep11misc.c [new file with mode: 0644]
drivers/s390/crypto/zcrypt_ep11misc.h [new file with mode: 0644]