[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <D1H2UON4NTVS.1JG8PCOCAL4NY@kernel.org>
Date: Thu, 23 May 2024 17:01:14 +0300
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "David Howells" <dhowells@...hat.com>
Cc: <linux-integrity@...r.kernel.org>, <keyrings@...r.kernel.org>, "David
Woodhouse" <dwmw2@...radead.org>, "Eric Biggers" <ebiggers@...nel.org>,
"James Bottomley" <James.Bottomley@...senpartnership.com>, "Herbert Xu"
<herbert@...dor.apana.org.au>, "David S. Miller" <davem@...emloft.net>,
"Andrew Morton" <akpm@...ux-foundation.org>, "Mimi Zohar"
<zohar@...ux.ibm.com>, "Paul Moore" <paul@...l-moore.com>, "James Morris"
<jmorris@...ei.org>, "Serge E. Hallyn" <serge@...lyn.com>, "open
list:CRYPTO API" <linux-crypto@...r.kernel.org>, "open list"
<linux-kernel@...r.kernel.org>, "open list:SECURITY SUBSYSTEM"
<linux-security-module@...r.kernel.org>
Subject: Re: [PATCH v2] KEYS: trusted: Use ASN.1 encoded OID
On Thu May 23, 2024 at 4:39 PM EEST, David Howells wrote:
> Jarkko Sakkinen <jarkko@...nel.org> wrote:
>
> > There's no reason to encode OID_TPMSealedData at run-time, as it never
> > changes.
> >
> > Replace it with the encoded version, which has exactly the same size:
> >
> > 67 81 05 0A 01 05
> >
> > Include OBJECT IDENTIFIER (0x06) tag and length as the epilogue so that
> > the OID can be simply copied to the blob.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko@...nel.org>
>
> Reviewed-by: David Howells <dhowells@...hat.com>
Thanks!
BR, Jarkko
Powered by blists - more mailing lists