summaryrefslogtreecommitdiff
path: root/drivers/crypto/omap-aes.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2017-05-24 10:35:30 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-10 07:04:18 +0300
commitd695bfd6f02adf362511a6d0139e7f7e6342d3e8 (patch)
tree953b8fb2b4dcda818608d1c82fe4d6fdfb556abc /drivers/crypto/omap-aes.h
parent5b3d4d2e613ba7274f6cc11373a5919faafdda28 (diff)
downloadlinux-d695bfd6f02adf362511a6d0139e7f7e6342d3e8.tar.xz
crypto: omap-aes - export some AES driver functionality locally
These are going to be required by the addition of the GCM support. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/omap-aes.h')
-rw-r--r--drivers/crypto/omap-aes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/crypto/omap-aes.h b/drivers/crypto/omap-aes.h
index ce4346e43664..11e1784cc4a5 100644
--- a/drivers/crypto/omap-aes.h
+++ b/drivers/crypto/omap-aes.h
@@ -164,4 +164,11 @@ struct omap_aes_dev {
const struct omap_aes_pdata *pdata;
};
+u32 omap_aes_read(struct omap_aes_dev *dd, u32 offset);
+void omap_aes_write(struct omap_aes_dev *dd, u32 offset, u32 value);
+struct omap_aes_dev *omap_aes_find_dev(struct omap_aes_reqctx *rctx);
+int omap_aes_write_ctrl(struct omap_aes_dev *dd);
+int omap_aes_crypt_dma_start(struct omap_aes_dev *dd);
+int omap_aes_crypt_dma_stop(struct omap_aes_dev *dd);
+
#endif