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

Jarkko Sakkinen
2025-09-22T16:43:29Z

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