[PATCH] KEYS: trusted: Use ASN.1 encoded OID

Jarkko Sakkinen jarkko at kernel.org
Thu May 23 13:14:42 UTC 2024


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 at kernel.org>

Oops went out by mistake was going to have "--dry-run". I'll resend
this one, sorry.

BR, Jarkko



More information about the Linux-security-module-archive mailing list