OSDN Git Service

s390/zcrypt: enable odd RSA modulus sizes in CRT format
authorIngo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Fri, 4 Sep 2015 07:57:24 +0000 (09:57 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Oct 2015 12:31:59 +0000 (14:31 +0200)
commit1330a1258dc20caa5961b07aa62482793d6f2ecf
treedddc2a4438dc63b69ab1aad5d411032b4a206f5a
parentb02064a9b8134e1aac4e891abf72139ca0b126ee
s390/zcrypt: enable odd RSA modulus sizes in CRT format

In the past only even modulus sizes were allowed for RSA keys in
CRT format. This restriction was based on limited RSA key generation
on older crypto adapters that provides only even modulus sizes. This
restriction is not valid any more.

Revoke restrictions that crypto requests can be serviced with odd
RSA modulus length in CRT format.

Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_api.c
drivers/s390/crypto/zcrypt_cca_key.h
drivers/s390/crypto/zcrypt_msgtype50.c
drivers/s390/crypto/zcrypt_pcica.c