]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tpm2-sessions: Open code tpm_buf_append_hmac_session()
authorJarkko Sakkinen <jarkko.sakkinen@opinsys.com>
Tue, 30 Sep 2025 20:44:19 +0000 (23:44 +0300)
committerJarkko Sakkinen <jarkko@kernel.org>
Fri, 5 Dec 2025 04:42:51 +0000 (06:42 +0200)
commitb7960b90486139022d2d39caad90db252c469bab
tree2b56ffca662fc9346a5f00ac3d8a81604015fae9
parentbc677a9216e1396322e42692e9c01cce04a7afc0
tpm2-sessions: Open code tpm_buf_append_hmac_session()

Open code 'tpm_buf_append_hmac_session_opt' to the call site, as it only
masks a call sequence and does otherwise nothing particularly useful.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@opinsys.com>
Reviewed-by: Jonathan McDowell <noodles@meta.com>
drivers/char/tpm/tpm2-cmd.c
include/linux/tpm.h
security/keys/trusted-keys/trusted_tpm2.c