[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <D1H1V26J3VWO.2KLLJQU3Z54ZJ@kernel.org>
Date: Thu, 23 May 2024 16:14:42 +0300
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "Jarkko Sakkinen" <jarkko@...nel.org>, <linux-integrity@...r.kernel.org>
Cc: <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>, "James Bottomley"
<James.Bottomley@...senPartnership.com>, "Mimi Zohar"
<zohar@...ux.ibm.com>, "David Howells" <dhowells@...hat.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] KEYS: trusted: Use ASN.1 encoded OID
On Thu May 23, 2024 at 4:08 PM EEST, Jarkko Sakkinen 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>
Oops went out by mistake was going to have "--dry-run". I'll resend
this one, sorry.
BR, Jarkko
Powered by blists - more mailing lists