]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/zcrypt: ep11 structs rework, export zcrypt_send_ep11_cprb
authorHarald Freudenberger <freude@linux.ibm.com>
Fri, 30 Aug 2019 13:57:17 +0000 (15:57 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Thu, 30 Jan 2020 12:07:55 +0000 (13:07 +0100)
commita7367997abb64b5e5a4f6fe6091629440b10da40
treeb16ba69ac2eadeead1b86535b623655c55f310b5
parent8f291ebf327050822d4ebf3812e5cc033ee0a88a
s390/zcrypt: ep11 structs rework, export zcrypt_send_ep11_cprb

Minor rework for struct ep11_cprb and struct ep11_urb. Use of u8, u16,
u32 instead of unsigned char. Declare pointers to mem from userspace
with __user to give sparse a chance to check.

Export zcrypt_send_ep11_cprb() function as this function will be
called by code in progress which will build ep11 cprbs within the
zcrypt device driver zoo and send them to EP11 crypto cards.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/uapi/asm/zcrypt.h
drivers/s390/crypto/zcrypt_api.c
drivers/s390/crypto/zcrypt_api.h