[PATCH 0/4] tpm2-session: correct disperancies

Jarkko Sakkinen jarkko at kernel.org
Mon Sep 22 16:43:13 UTC 2025


Correct various disperancies in tpm2-session implementation that set knots
on improving the feature.

Jarkko Sakkinen (4):
  tpm: Use -EPERM as fallback error code in tpm_ret_to_err
  tpm2-sessions: Remove unused parameter from tpm_buf_append_auth
  tpm2-sessions: Remove unnecessary wrapper
  keys, trusted: Remove redundant helper

 drivers/char/tpm/tpm2-cmd.c               | 16 +++-
 drivers/char/tpm/tpm2-sessions.c          |  5 +-
 include/linux/tpm.h                       | 34 ++-------
 security/keys/trusted-keys/trusted_tpm2.c | 89 +++++++----------------
 4 files changed, 47 insertions(+), 97 deletions(-)

-- 
2.39.5




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