[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <D1EWI92F6AIH.3CFED3IMI10ZA@kernel.org>
Date: Tue, 21 May 2024 03:37:33 +0300
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "Jarkko Sakkinen" <jarkko@...nel.org>, "Herbert Xu"
<herbert@...dor.apana.org.au>
Cc: <linux-integrity@...r.kernel.org>, <keyrings@...r.kernel.org>,
<Andreas.Fuchs@...ineon.com>, "James Prestwood" <prestwoj@...il.com>,
"David Woodhouse" <dwmw2@...radead.org>, "David S. Miller"
<davem@...emloft.net>, "open list:CRYPTO API"
<linux-crypto@...r.kernel.org>, "open list" <linux-kernel@...r.kernel.org>,
"Eric Biggers" <ebiggers@...nel.org>
Subject: Re: [PATCH 0/6] KEYS: asymmetric: tpm2_key_rsa
On Mon May 20, 2024 at 11:36 PM EEST, Jarkko Sakkinen wrote:
> On Mon May 20, 2024 at 9:47 PM EEST, Jarkko Sakkinen wrote:
> > ## Overview
> >
> > Introduce tpm2_key_rsa implementing asymmetric TPM RSA key. This key type
> > can be enabled with CONFIG_ASYMMETRIC_TPM2_KEY_RSA_SUBTYPE config option.
> > Carves groundwork for similar modules in future, such as tpm2_key_ecdsa.
>
> Cc to Eric (forgot).
Also my idea is to take the (working) model from tpm_tis. At this point
it is just tpm2_key_rsa but it would be easy to lay out tpm2_key later
on and make the different key types as submodules. That would be a kind
of model, which would support algorithmic agility side of TPM2.
So there might tpm2_key at some point with tpm2_key_rsa and tpm2_key_ecdsa
as its submodules.
BR, Jarkko
Powered by blists - more mailing lists