[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <486.1493394457@warthog.procyon.org.uk>
Date: Fri, 28 Apr 2017 16:47:37 +0100
From: David Howells <dhowells@...hat.com>
To: Mehmet Kayaalp <mkayaalp@...ux.vnet.ibm.com>
Cc: dhowells@...hat.com, David Woodhouse <dwmw2@...radead.org>,
keyrings <keyrings@...r.kernel.org>,
LSM <linux-security-module@...r.kernel.org>,
kernel <linux-kernel@...r.kernel.org>,
Mimi Zohar <zohar@...ux.vnet.ibm.com>,
Stefan Berger <stefanb@...ux.vnet.ibm.com>,
George Wilson <gcwilson@...ibm.com>
Subject: Re: [PATCH v4 3/4] KEYS: Support for inserting a certificate into x86 bzImage
Mehmet Kayaalp <mkayaalp@...ux.vnet.ibm.com> wrote:
> >> + /* TODO: update CRC */
> >
> > Is this bit missing?
>
> I didn't add it, since I wasn't sure it was still used with secure boot.
I'm not sure why secure boot would skip it if normal boot does it. You'll
have to trawl the boot wrapper and kernel arch setup code to answer that one.
> The CRC code is implemented in multiple places, but not exposed to the
> tools/scripts. Should I make the crc32() in tools/pcmcia/crc32hash.c
> non-static, maybe?
Making it non-static won't help since it's a standalone program. You could
just shift it to scripts or something.
David
Powered by blists - more mailing lists