linux-stable/drivers/s390/crypto
Felix Beck c2567f8ffa [S390] zcrypt: cope with cca restriction of cex3
The cca on the crypto adapter has a restriction in the size of the
exponent if a key with a modulus bigger than 2048 bit is used. Thus
in that case we have to avoid that the crypto device driver thinks
the adapter is defect and sets it offline. Therfore a new member for
the zcrypt_device struct called max_exp_bit_length is introduced. This
will be set the first time the cca returns the error code function
not implemented. If this is done with an adapter twice it will return
-EINVAL.

Signed-off-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2011-01-05 12:47:27 +01:00
..
ap_bus.c [S390] zcrypt: Introduce check for 4096 bit support. 2011-01-05 12:47:27 +01:00
ap_bus.h [S390] zcrypt: Introduce check for 4096 bit support. 2011-01-05 12:47:27 +01:00
Makefile
zcrypt_api.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
zcrypt_api.h [S390] zcrypt: cope with cca restriction of cex3 2011-01-05 12:47:27 +01:00
zcrypt_cca_key.h [S390] zcrypt: Comments and kernel-doc cleanup 2008-04-17 07:47:06 +02:00
zcrypt_cex2a.c [S390] zcrypt: cope with cca restriction of cex3 2011-01-05 12:47:27 +01:00
zcrypt_cex2a.h [S390] zcrypt: support for 4096 bit keys for cex3a 2011-01-05 12:47:27 +01:00
zcrypt_error.h [S390] Cleanup zcrypt printk messages. 2008-07-14 10:02:19 +02:00
zcrypt_mono.c
zcrypt_pcica.c [S390] zcrypt: cope with cca restriction of cex3 2011-01-05 12:47:27 +01:00
zcrypt_pcica.h
zcrypt_pcicc.c [S390] zcrypt: cope with cca restriction of cex3 2011-01-05 12:47:27 +01:00
zcrypt_pcicc.h
zcrypt_pcixcc.c [S390] zcrypt: cope with cca restriction of cex3 2011-01-05 12:47:27 +01:00
zcrypt_pcixcc.h