Skip to contentSkip to conversation

TPM DEVICE DRIVER updates for v5.17

GIT PULL Jarkko Sakkinen 1 participant 2 messages Dec 29, 2021 – Jan 6, 2022

Subsystems (2)
lore
Share & tools
lore

Jarkko Sakkinen

author maintainer
#0 lore raw

Hi,

Other than bug fixes for TPM, includes a patch for asymmetric keys to allow to look up and verify with self-signed certificates (keys without so called Authority Key Identifier (AKID)) using a new "dn:" prefix in the query.

BR,
Jarkko

The following changes since commit e7c124bd04631973a3cc0df19ab881b56d8a2d50:

Merge tag 'selinux-pr-20211228' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux (2021-12-28 13:33:06 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/ tags/tpmdd-next-v5.17

for you to fetch changes up to 035d19ee9b906f8a6937d44cc1dd1bf065be8641:

tpm: fix NPE on probe for missing device (2021-12-29 03:44:50 +0200)

----------------------------------------------------------------
tpmdd updates for Linux v5.17

----------------------------------------------------------------
Andrew Zaborowski (1):
keys: X.509 public key issuer lookup without AKID

AngeloGioacchino Del Regno (1):
tpm: tpm_tis_spi_cr50: Add default RNG quality

Chen Jun (1):
tpm: add request_locality before write TPM_INT_ENABLE

Christophe Jaillet (1):
tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'

Lino Sanfilippo (1):
tpm: fix potential NULL pointer access in tpm_del_char_device

Patrick Williams (1):
tpm: fix NPE on probe for missing device

Rob Barnes (1):
char: tpm: cr50: Set TPM_FIRMWARE_POWER_MANAGED based on device property

Sohaib Mohamed (1):
tpm/st33zp24: drop unneeded over-commenting

axelj (1):
tpm: Add Upgrade/Reduced mode support for TPM2 modules

 crypto/asymmetric_keys/asymmetric_type.c  |  57 ++++++++++----
 crypto/asymmetric_keys/pkcs7_trust.c      |   6 +-
 crypto/asymmetric_keys/restrict.c         |  48 +++++++-----
 crypto/asymmetric_keys/x509_cert_parser.c |  10 +++
 crypto/asymmetric_keys/x509_public_key.c  |  10 +++
 drivers/char/tpm/st33zp24/st33zp24.c      | 122 +++++-------------------------
 drivers/char/tpm/tpm-chip.c               |  37 ++++++---
 drivers/char/tpm/tpm-sysfs.c              |   3 +
 drivers/char/tpm/tpm2-cmd.c               |   6 ++
 drivers/char/tpm/tpm_tis_core.c           |  14 +++-
 drivers/char/tpm/tpm_tis_i2c_cr50.c       |  16 +++-
 drivers/char/tpm/tpm_tis_spi_cr50.c       |  20 ++++-
 include/crypto/public_key.h               |   2 +-
 include/keys/asymmetric-type.h            |   3 +-
 include/linux/tpm.h                       |  10 +++
 15 files changed, 205 insertions(+), 159 deletions(-)
author maintainer
#1 lore raw
Quoted 5 lines · Jarkko Sakkinen

Hi,

Other than bug fixes for TPM, includes a patch for asymmetric keys to allow to look up and verify with self-signed certificates (keys without so called Authority Key Identifier (AKID)) using a new "dn:" prefix in the query.

I'll send updated PR. There was a truncated fixes tag in "tpm: fix potential NULL pointer access in tpm_del_char_device".

BR,
Jarkko