s390/zcrypt: remove unused ancient padding code
authorHarald Freudenberger <freude@linux.ibm.com>
Wed, 22 Mar 2023 14:15:08 +0000 (15:15 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 4 Apr 2023 16:34:55 +0000 (18:34 +0200)
commitbd922f33d4a3255cc33eb7082c47d973ed1da75d
tree7a948ea6c153d45447b02f28373d3c807f817b0d
parentb46650d56bd31dca8b09b5670ee9441a8f7b8869
s390/zcrypt: remove unused ancient padding code

There was some ancient code which padded the results of
a clear key ME or CRT operation with some PKCS 1.2 header.
According to the comment this was only needed by crypto
cards older than the CEX2. These cards are not supported
any more and so this patch removes this obscure result
padding code.

Signed-off-by: Harald Freudenberger <freude@linux.ibm.com>
Reviewed-by: Juergen Christ <jchrist@linux.ibm.com>
Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/crypto/zcrypt_msgtype6.c