]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit18df048b1f4add8781790cb982b1c15967cfb7f5
treedddc2a4438dc63b69ab1aad5d411032b4a206f5a
parent9173ecb611594148cc335c04aff56ea470809439
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