summaryrefslogtreecommitdiff
path: root/drivers/crypto/cavium/nitrox/nitrox_common.h
diff options
context:
space:
mode:
authorNagadheeraj Rottela <rnagadheeraj@marvell.com>2018-12-14 14:19:51 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2018-12-23 06:52:44 +0300
commitc9613335bf4fe259a654aa0e9701f0c4cddc12ba (patch)
tree8f1d2c02c0676cc4314e327b2035d661040f8b82 /drivers/crypto/cavium/nitrox/nitrox_common.h
parent2326828ee40357b3d2b1359b8ca7526af201495b (diff)
downloadlinux-c9613335bf4fe259a654aa0e9701f0c4cddc12ba.tar.xz
crypto: cavium/nitrox - Added AEAD cipher support
Added support to offload AEAD ciphers to NITROX. Currently supported AEAD cipher is 'gcm(aes)'. Signed-off-by: Nagadheeraj Rottela <rnagadheeraj@marvell.com> Reviewed-by: Srikanth Jampala <jsrikanth@marvell.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/cavium/nitrox/nitrox_common.h')
-rw-r--r--drivers/crypto/cavium/nitrox/nitrox_common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/crypto/cavium/nitrox/nitrox_common.h b/drivers/crypto/cavium/nitrox/nitrox_common.h
index 863143a8336b..e4be69d7e6e5 100644
--- a/drivers/crypto/cavium/nitrox/nitrox_common.h
+++ b/drivers/crypto/cavium/nitrox/nitrox_common.h
@@ -7,6 +7,10 @@
int nitrox_crypto_register(void);
void nitrox_crypto_unregister(void);
+int nitrox_register_aeads(void);
+void nitrox_unregister_aeads(void);
+int nitrox_register_skciphers(void);
+void nitrox_unregister_skciphers(void);
void *crypto_alloc_context(struct nitrox_device *ndev);
void crypto_free_context(void *ctx);
struct nitrox_device *nitrox_get_first_device(void);
@@ -19,7 +23,7 @@ void pkt_slc_resp_tasklet(unsigned long data);
int nitrox_process_se_request(struct nitrox_device *ndev,
struct se_crypto_request *req,
completion_t cb,
- struct skcipher_request *skreq);
+ void *cb_arg);
void backlog_qflush_work(struct work_struct *work);