On Thu, Nov 26, 2026 at 11:48:52PM +0200, Jarkko Sakkinen wrote:
> On Thu, Nov 26, 2026 at 10:50:21PM +0200, Jarkko Sakkinen wrote:
> > Extend the TPM 2.0 trusted key backend to load OID_TPMLoadableKey
> > (2.23.133.10.1.3) RSA (2048/3072/4096) and ECC (NIST P-256/P-384/P-521)
> > keys and expose query, sign, verify, and RSA encrypt/decrypt operations
> > through key_type_trusted.
> > 
> > The feature is controlled by CONFIG_TRUSTED_KEYS_ASYMMETRIC, which
> > defaults to y when CONFIG_TRUSTED_KEYS_TPM is enabled.
> > 
> > Co-developed-by: James Prestwood <[email protected]>
> > Signed-off-by: James Prestwood <[email protected]>
> > Signed-off-by: Jarkko Sakkinen <[email protected]>
> 
> By rebasing this on top of these patches, I could drop tpm2_read*()
> from this and use tpm_buf_read_*():
> 
> https://lore.kernel.org/keyrings/[email protected]/
> 
> See, also:
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/log/?h=tpm2-asymmetric

Also as a result of this tpm2_load_parent(), tpm2_load_blob(),
tpm2_asym_rsa_decrypt(), and tpm2_asym_sign() resolve names via
tpm2_read_public().

By combining these series pre-existing code is leveraged
to its best extent.

Br, Jarkko

Reply via email to