[S390] zcrypt: support for 4096 bit keys for cex3a
authorFelix Beck <felix.beck@de.ibm.com>
Wed, 5 Jan 2011 11:47:45 +0000 (12:47 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Wed, 5 Jan 2011 11:47:27 +0000 (12:47 +0100)
commit3e309a66f52e042881f76cbfb9b6c2aa70163e02
tree50633ef9552e511be7ff113d6b2bc77f3f67d549
parentb1f933da570576d1f290ea4dc9b896404cbd285d
[S390] zcrypt: support for 4096 bit keys for cex3a

Definitions for CEX3 card types are changed to support 4096 bit RSA
keys. Also new structs for the accelerator mode are needed.
Additionaly when checking the length of key parts, the case for bigger
(4096 bit) keys is needed.

Signed-off-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_cex2a.c
drivers/s390/crypto/zcrypt_cex2a.h