[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH V2 2/3] verifiers: Core TPM support

From: Matthew Garrett
Subject: Re: [PATCH V2 2/3] verifiers: Core TPM support
Date: Tue, 20 Nov 2018 10:59:18 +1100

On Mon, Nov 19, 2018 at 1:13 AM Daniel P. Smith <address@hidden> wrote:
> It would be great if the TPM commands that are using EFI protocol and
> exposed to TPM command module be name spaced under efi, e.g.
> grub_efi_tpm_log_event. As I lay in a TIS implementation, I can mimic a
> similar set of tis name spaced functions that can be #ifdef/#else (or
> any other mechanism GRUB maintainer's would prefer) switched between EFI
> and TIS.

I'm a little confused - if it's #ifdefed then surely there's no
namespace collision (because only one implementation can be built at
once)? If the goal is to allow one binary to support multiple
implementations then that's not impossible, but it's going to require
runtime registration of TPM callbacks rather than simply namespacing

reply via email to

[Prev in Thread] Current Thread [Next in Thread]