[PATCH 0/5] i.MX6: CAAM engine support

Steffen Trumtrar s.trumtrar at pengutronix.de
Wed Feb 10 03:05:50 PST 2016


Hi!

This series adds basic support for the i.MX6
Cryptographic Acceleration and Assurance Module (CAAM).

The CAAM supports multiple hashing/encryption engines,
this series only supports the included hardware random
number generator.

Tested with a riotboard.

Regards,
Steffen

Steffen Trumtrar (5):
  include: linux: add circular buffers
  ARM: imx6: add caam clks
  crypto: add i.MX6 CAAM support
  crypto: caam: add RNG support
  ARM: i.MX6: riotboard: enable CAAM RNG

 arch/arm/dts/imx6s-riotboard.dts  |    4 +
 arch/arm/mach-imx/clk-imx6.c      |    4 +
 drivers/Kconfig                   |    1 +
 drivers/Makefile                  |    1 +
 drivers/crypto/Kconfig            |   10 +
 drivers/crypto/Makefile           |    1 +
 drivers/crypto/caam/Kconfig       |   44 +
 drivers/crypto/caam/Makefile      |    6 +
 drivers/crypto/caam/caamrng.c     |  319 +++++++
 drivers/crypto/caam/ctrl.c        |  651 +++++++++++++++
 drivers/crypto/caam/ctrl.h        |   13 +
 drivers/crypto/caam/desc.h        | 1665 +++++++++++++++++++++++++++++++++++++
 drivers/crypto/caam/desc_constr.h |  390 +++++++++
 drivers/crypto/caam/error.c       |  257 ++++++
 drivers/crypto/caam/error.h       |   11 +
 drivers/crypto/caam/intern.h      |   99 +++
 drivers/crypto/caam/jr.c          |  364 ++++++++
 drivers/crypto/caam/jr.h          |   18 +
 drivers/crypto/caam/regs.h        |  895 ++++++++++++++++++++
 include/linux/circ_buf.h          |   36 +
 20 files changed, 4789 insertions(+)
 create mode 100644 drivers/crypto/Kconfig
 create mode 100644 drivers/crypto/Makefile
 create mode 100644 drivers/crypto/caam/Kconfig
 create mode 100644 drivers/crypto/caam/Makefile
 create mode 100644 drivers/crypto/caam/caamrng.c
 create mode 100644 drivers/crypto/caam/ctrl.c
 create mode 100644 drivers/crypto/caam/ctrl.h
 create mode 100644 drivers/crypto/caam/desc.h
 create mode 100644 drivers/crypto/caam/desc_constr.h
 create mode 100644 drivers/crypto/caam/error.c
 create mode 100644 drivers/crypto/caam/error.h
 create mode 100644 drivers/crypto/caam/intern.h
 create mode 100644 drivers/crypto/caam/jr.c
 create mode 100644 drivers/crypto/caam/jr.h
 create mode 100644 drivers/crypto/caam/regs.h
 create mode 100644 include/linux/circ_buf.h

-- 
2.7.0.rc3




More information about the barebox mailing list