public inbox for tpm2@lists.linux.dev
 help / color / mirror / Atom feed
* TPM2_Sign vs TPM2_RSA_Decrypt
@ 2024-05-16 10:25 Jarkko Sakkinen
  2024-05-16 12:01 ` Andreas.Fuchs
  0 siblings, 1 reply; 13+ messages in thread
From: Jarkko Sakkinen @ 2024-05-16 10:25 UTC (permalink / raw)
  To: tpm2

Hi,

I'm pushing with James Prestwood RSA and ECDSA based asymmetric keys to
asymmetric keys subsystem of the kernel and for e.g. RSA we can just use
TPM2_RSA_Decrypt:

https://lore.kernel.org/all/20200518172704.29608-18-prestwoj@gmail.com/

I've implemented some code that make this fit more cleanly to the kernel
and James will refactor his old code on top of that. I.e. add the
padding and asn1 data and make x.509 compatible scheme. Just do
textbook style RSA part with TPM2.

Just for plain interest, because I'm not too familiar with TPM2_Sign:
when would you choose to use it instead? I just want to make sure that
we're doing right things right :-)

BR, Jarkko

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-05-17 17:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 10:25 TPM2_Sign vs TPM2_RSA_Decrypt Jarkko Sakkinen
2024-05-16 12:01 ` Andreas.Fuchs
2024-05-16 12:51   ` Jarkko Sakkinen
2024-05-16 13:05     ` Andreas.Fuchs
2024-05-16 13:31       ` Jarkko Sakkinen
2024-05-16 13:33         ` Jarkko Sakkinen
2024-05-16 13:44         ` James Prestwood
2024-05-16 13:55           ` Jarkko Sakkinen
2024-05-16 13:59             ` James Prestwood
2024-05-16 14:14               ` Andreas.Fuchs
2024-05-16 15:20                 ` Jarkko Sakkinen
2024-05-17 17:58                   ` Jarkko Sakkinen
2024-05-16 15:18               ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox