diff options
author | Felix Beck <felix.beck@de.ibm.com> | 2011-01-05 12:47:44 +0100 |
---|---|---|
committer | Martin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com> | 2011-01-05 12:47:27 +0100 |
commit | b1f933da570576d1f290ea4dc9b896404cbd285d (patch) | |
tree | f995659952ac3ccdfde34c13e7d484ced01b6777 /drivers/s390/crypto/ap_bus.h | |
parent | 2fcb3686e1601cff992e026dceeab1b22dc81178 (diff) | |
download | blackbird-op-linux-b1f933da570576d1f290ea4dc9b896404cbd285d.tar.gz blackbird-op-linux-b1f933da570576d1f290ea4dc9b896404cbd285d.zip |
[S390] zcrypt: Introduce check for 4096 bit support.
Implemented an asm in the ap bus and made it accessible for the card
specific parts of the zcrypt driver. Thus when a cex3a is recognized
a check can be performed to dermine whether the card supports 4096 bit
RSA keys.
Signed-off-by: Felix Beck <felix.beck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/crypto/ap_bus.h')
-rw-r--r-- | drivers/s390/crypto/ap_bus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/crypto/ap_bus.h b/drivers/s390/crypto/ap_bus.h index 4785d07cd447..08b9738285b4 100644 --- a/drivers/s390/crypto/ap_bus.h +++ b/drivers/s390/crypto/ap_bus.h @@ -196,4 +196,6 @@ void ap_flush_queue(struct ap_device *ap_dev); int ap_module_init(void); void ap_module_exit(void); +int ap_4096_commands_available(ap_qid_t qid); + #endif /* _AP_BUS_H_ */ |