diff options
author | Harald Freudenberger <freude@linux.ibm.com> | 2020-09-26 22:51:38 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-10-07 21:50:01 +0200 |
commit | 3730f5300b450bc89306c3ab79c254e6039d9197 (patch) | |
tree | bd9cb1f73e726c263cefb2fb857c8fbecc9c1376 /drivers/s390/crypto/zcrypt_cca_key.h | |
parent | e0332629e33d1926c93348d918aaaf451ef9a16b (diff) |
s390/zcrypt: move ap_msg param one level up the call chain
Move the creating and disposal of the struct ap_message one
level up the call chain. The ap message was constructed in the
calling functions in msgtype50 and msgtype6 but only for the
ica rsa messages. For CCA and EP11 CPRBs the ap message struct
is created in the zcrypt api functions.
This patch moves the construction of the ap message struct into
the functions zcrypt_rsa_modexpo and zcrypt_rsa_crt. So now all
the 4 zcrypt api functions zcrypt_rsa_modexpo, zcrypt_rsa_crt,
zcrypt_send_cprb and zcrypt_send_ep11_cprb appear and act
similar.
There are no functional changes coming with this patch.
However, the availability of the ap_message struct has
advantages which will be needed by a follow up patch.
Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/zcrypt_cca_key.h')
0 files changed, 0 insertions, 0 deletions