[PATCH v6 0/2] Optimize tpm2_read_public() calls
Jarkko Sakkinen <[email protected]> Sun, 7 Dec 2025 19:32:08 +0200
| Newsgroups | dev.linux.lists.tpm2,org.kernel.vger.keyrings,org.kernel.vger.linux-integrity,org.kernel.vger.linux-kernel,org.kernel.vger.linux-security-module |
|---|---|
| Message-ID | <[email protected]> |
The main goal is fairly straight-forwrd here. The aim of these patches is optimize the number of tpm2_read_public() calls to the bare minimum. The last patch is a bit out of scope but I included because it builds on top of this work. Jarkko Sakkinen (2): KEYS: trusted: Re-orchestrate tpm2_read_public() calls KEYS: trusted: Store parent's name to the encoded keys drivers/char/tpm/tpm2-cmd.c | 86 ++++++++- drivers/char/tpm/tpm2-sessions.c | 156 ++-------------- include/linux/tpm.h | 3 +- security/keys/trusted-keys/tpm2key.asn1 | 17 +- security/keys/trusted-keys/trusted_tpm2.c | 207 +++++++++++++++------- 5 files changed, 259 insertions(+), 210 deletions(-) -- 2.39.5