c2567f8ffa
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> |
||
---|---|---|
.. | ||
ap_bus.c | ||
ap_bus.h | ||
Makefile | ||
zcrypt_api.c | ||
zcrypt_api.h | ||
zcrypt_cca_key.h | ||
zcrypt_cex2a.c | ||
zcrypt_cex2a.h | ||
zcrypt_error.h | ||
zcrypt_mono.c | ||
zcrypt_pcica.c | ||
zcrypt_pcica.h | ||
zcrypt_pcicc.c | ||
zcrypt_pcicc.h | ||
zcrypt_pcixcc.c | ||
zcrypt_pcixcc.h |