summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/key_gen.h
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2016-11-22 16:44:04 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2016-11-28 16:23:22 +0300
commitdb57656b0072415488a08332ba46494a5e334b37 (patch)
treea329345a7da5c9992e0a35f3f3332acc2a9dfa7e /drivers/crypto/caam/key_gen.h
parent64c9295b2320efea5aec1d0511577e9cee06eddb (diff)
downloadlinux-db57656b0072415488a08332ba46494a5e334b37.tar.xz
crypto: caam - group algorithm related params
In preparation of factoring out the shared descriptors, struct alginfo is introduced to group the algorithm related parameters. Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/key_gen.h')
-rw-r--r--drivers/crypto/caam/key_gen.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/crypto/caam/key_gen.h b/drivers/crypto/caam/key_gen.h
index c5588f6d8109..511882af0596 100644
--- a/drivers/crypto/caam/key_gen.h
+++ b/drivers/crypto/caam/key_gen.h
@@ -12,6 +12,6 @@ struct split_key_result {
void split_key_done(struct device *dev, u32 *desc, u32 err, void *context);
-int gen_split_key(struct device *jrdev, u8 *key_out, int split_key_len,
- int split_key_pad_len, const u8 *key_in, u32 keylen,
- u32 alg_op);
+int gen_split_key(struct device *jrdev, u8 *key_out,
+ struct alginfo * const adata, const u8 *key_in, u32 keylen,
+ u32 alg_op);