summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/compat.h
diff options
context:
space:
mode:
authorYuan Kang <Yuan.Kang@freescale.com>2012-06-23 04:48:47 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-27 10:42:05 +0400
commit045e36780f11523e26d1e4a8c78bdc57f4003bd0 (patch)
tree8b12d957f7f38b4a480f9e8b8ff3cee1061c27a0 /drivers/crypto/caam/compat.h
parenta299c837040bb47810b9d287dfe7deed6a254995 (diff)
downloadlinux-045e36780f11523e26d1e4a8c78bdc57f4003bd0.tar.xz
crypto: caam - ahash hmac support
caam supports ahash hmac with sha algorithms and md5. Signed-off-by: Yuan Kang <Yuan.Kang@freescale.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/compat.h')
-rw-r--r--drivers/crypto/caam/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/compat.h b/drivers/crypto/caam/compat.h
index a63bc65fae86..762aeff626ac 100644
--- a/drivers/crypto/caam/compat.h
+++ b/drivers/crypto/caam/compat.h
@@ -11,6 +11,7 @@
#include <linux/device.h>
#include <linux/interrupt.h>
#include <linux/crypto.h>
+#include <linux/hash.h>
#include <linux/hw_random.h>
#include <linux/of_platform.h>
#include <linux/dma-mapping.h>
@@ -33,5 +34,6 @@
#include <crypto/authenc.h>
#include <crypto/scatterwalk.h>
#include <crypto/internal/skcipher.h>
+#include <crypto/internal/hash.h>
#endif /* !defined(CAAM_COMPAT_H) */