path: root/drivers/crypto/caam/error.h
diff options
authorSteffen Trumtrar <>2016-02-12 14:12:38 +0100
committerSascha Hauer <>2016-02-12 15:55:55 +0100
commit94844727a86e6445c878ebfa0ade907610248ced (patch)
tree2928f2c4afa0d4e2ed6b5311f5eab4d182316a67 /drivers/crypto/caam/error.h
parent1bfe0f66d705e188a102661399506b20cc7571f4 (diff)
crypto: add i.MX6 CAAM support
Add the i.MX6 crypto core CAAM with support for the random number generator. The core itself works with jobrings in which descriptors can be queued/dequeued for processing. Depending on descriptor type the CAAM unit then either produces random numbers or decrypts/encrypts data. The code is based on the Linux v4.1 driver of the same name without all the crypto/hashing components. Signed-off-by: Steffen Trumtrar <> Signed-off-by: Sascha Hauer <>
Diffstat (limited to 'drivers/crypto/caam/error.h')
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/crypto/caam/error.h b/drivers/crypto/caam/error.h
new file mode 100644
index 000000000..4ea908977
--- /dev/null
+++ b/drivers/crypto/caam/error.h
@@ -0,0 +1,11 @@
+ * CAAM Error Reporting code header
+ *
+ * Copyright 2009-2011 Freescale Semiconductor, Inc.
+ */
+#ifndef CAAM_ERROR_H
+#define CAAM_ERROR_H
+#define CAAM_ERROR_STR_MAX 302
+void caam_jr_strstatus(struct device_d *jrdev, u32 status);
+#endif /* CAAM_ERROR_H */