aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/talitos.h
diff options
context:
space:
mode:
authorHoria Geanta <horia.geanta@freescale.com>2012-07-03 12:16:52 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-07-10 23:08:29 -0400
commit865d506155b117edc7e668ced373030ce7108ce9 (patch)
treeab3976011e933ef1347b598c57f4e1ccaab51e8b /drivers/crypto/talitos.h
parentd1a0eb98e7a8b7e244e31430fdb1a752243e2698 (diff)
crypto: talitos - export the talitos_submit function
This patch exports the talitos_submit function so that on need basis same can be used by other entities. Signed-off-by: Sandeep Malik <Sandeep.Malik@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Horia Geanta <horia.geanta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/talitos.h')
-rw-r--r--drivers/crypto/talitos.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/crypto/talitos.h b/drivers/crypto/talitos.h
index 9835e3abd89f..41b80f6295ce 100644
--- a/drivers/crypto/talitos.h
+++ b/drivers/crypto/talitos.h
@@ -133,6 +133,12 @@ struct talitos_private {
133 struct hwrng rng; 133 struct hwrng rng;
134}; 134};
135 135
136extern int talitos_submit(struct device *dev, int ch, struct talitos_desc *desc,
137 void (*callback)(struct device *dev,
138 struct talitos_desc *desc,
139 void *context, int error),
140 void *context);
141
136/* .features flag */ 142/* .features flag */
137#define TALITOS_FTR_SRC_LINK_TBL_LEN_INCLUDES_EXTENT 0x00000001 143#define TALITOS_FTR_SRC_LINK_TBL_LEN_INCLUDES_EXTENT 0x00000001
138#define TALITOS_FTR_HW_AUTH_CHECK 0x00000002 144#define TALITOS_FTR_HW_AUTH_CHECK 0x00000002