[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <D1M9AKX8TO34.1EMXQ88L3T58C@kernel.org>
Date: Wed, 29 May 2024 19:07:26 +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>, "Eric Biggers"
<ebiggers@...nel.org>, "James Bottomley"
<James.Bottomley@...senpartnership.com>, <linux-crypto@...r.kernel.org>,
"Stefan Berger" <stefanb@...ux.ibm.com>, "Lennart Poettering"
<lennart@...ttering.net>, "David S. Miller" <davem@...emloft.net>, "open
list" <linux-kernel@...r.kernel.org>, "David Howells"
<dhowells@...hat.com>, "James Bottomley"
<James.Bottomley@...senPartnership.com>, "Ard Biesheuvel"
<ardb@...nel.org>, "Mario Limonciello" <mario.limonciello@....com>, "Dan
Carpenter" <dan.carpenter@...aro.org>
Subject: Re: [PATCH v7 4/5] keys: asymmetric: Add tpm2_key_rsa
On Wed May 29, 2024 at 12:08 AM EEST, Jarkko Sakkinen wrote:
> * Asymmetric TPM2 RSA key with signing and verification.
> * Encryption and decryption when pcks1 encoding is used.
> * Enabled with CONFIG_ASYMMETRIC_TPM2_KEY_ECDSA_SUBTYPE.
>
> Signed-off-by: James Prestwood <prestwoj@...il.com>
> Co-developed-by: Jarkko Sakkinen <jarkko@...nel.org>
> Signed-off-by: Jarkko Sakkinen <jarkko@...nel.org>
To be addressed in v8:
"
4970b8d723c3af Jarkko Sakkinen 2024-05-26 634 key = tpm2_key_decode(prep->data, prep->datalen);
4970b8d723c3af Jarkko Sakkinen 2024-05-26 635 if (IS_ERR(key))
4970b8d723c3af Jarkko Sakkinen 2024-05-26 @636 return ret;
^^^^^^^^^^
Same. return PTR_ERR(key);
" - https://lore.kernel.org/all/cbae0ed0-e0a6-41ba-9671-a9f48e8f07f3@morotomountain/
BR, Jarkko
Powered by blists - more mailing lists