[PATCH 0/3] DCP as trusted keys backend

Richard Weinberger richard at nod.at
Mon Jun 14 20:16:17 UTC 2021

DCP is an IP core found on NXP SoCs such as i.mx6ull.
While its bigger brother, CAAM, can directly wrap and unwrap blobs
in hardware[0], DCP offers only the bare minimum and the blob
mechanism needs aid from software.

This series adds support for a new trusted keys backend that makes use
of DCP's feature to use hardware keys which can never be read out.

[0] https://lore.kernel.org/lkml/cover.56fff82362af6228372ea82e6bd7e586e23f0966.1615914058.git-series.a.fatoum@pengutronix.de/

Cc: Ahmad Fatoum <a.fatoum at pengutronix.de>
Cc: David Gstir <david at sigma-star.at>
Cc: David Howells <dhowells at redhat.com>
Cc: "David S. Miller" <davem at davemloft.net>
Cc: Fabio Estevam <festevam at gmail.com>
Cc: Herbert Xu <herbert at gondor.apana.org.au>
Cc: James Bottomley <jejb at linux.ibm.com>
Cc: James Morris <jmorris at namei.org>
Cc: Jarkko Sakkinen <jarkko at kernel.org>
Cc: Jonathan Corbet <corbet at lwn.net>
Cc: keyrings at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-crypto at vger.kernel.org
Cc: linux-doc at vger.kernel.org
Cc: linux-integrity at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: linux-security-module at vger.kernel.org
Cc: Mimi Zohar <zohar at linux.ibm.com>
Cc: NXP Linux Team <linux-imx at nxp.com>
Cc: Pengutronix Kernel Team <kernel at pengutronix.de>
Cc: Richard Weinberger <richard at nod.at>
Cc: Sascha Hauer <s.hauer at pengutronix.de>
Cc: "Serge E. Hallyn" <serge at hallyn.com>
Cc: Shawn Guo <shawnguo at kernel.org>

David Gstir (1):
  doc: trusted-encrypted: add DCP as new trust source

Richard Weinberger (2):
  crypto: mxs-dcp: Add support for hardware provided keys
  KEYS: trusted: Introduce support for NXP DCP-based trusted keys

 .../admin-guide/kernel-parameters.txt         |   1 +
 .../security/keys/trusted-encrypted.rst       |  84 ++++-
 MAINTAINERS                                   |   9 +
 drivers/crypto/mxs-dcp.c                      | 110 +++++-
 include/keys/trusted_dcp.h                    |  13 +
 include/linux/mxs-dcp.h                       |  19 +
 security/keys/trusted-keys/Makefile           |   1 +
 security/keys/trusted-keys/trusted_core.c     |   6 +-
 security/keys/trusted-keys/trusted_dcp.c      | 325 ++++++++++++++++++
 9 files changed, 554 insertions(+), 14 deletions(-)
 create mode 100644 include/keys/trusted_dcp.h
 create mode 100644 include/linux/mxs-dcp.h
 create mode 100644 security/keys/trusted-keys/trusted_dcp.c


More information about the Linux-security-module-archive mailing list