Re: [PATCH v19 21/33] tss2: Add TPM2 Software Stack (TSS2) support

2024-09-18 Thread Gary Lin via Grub-devel
On Tue, Sep 17, 2024 at 11:14:33PM -0400, Stefan Berger wrote: > > > On 9/6/24 5:11 AM, Gary Lin wrote: > > A Trusted Platform Module (TPM) Software Stack (TSS) provides logic to > > compose and submit TPM commands and parse reponses. > > > > > +static TPM_RC_t > > +tpm2_submit_command_real (co

Re: [PATCH v19 00/33] Automatic Disk Unlock with TPM2

2024-09-18 Thread Stefan Berger
On 9/17/24 11:05 PM, Gary Lin wrote: On Mon, Sep 16, 2024 at 01:42:18PM -0400, Stefan Berger wrote: tests/asn1/tests/Test_overflow.c: In function ‘test_overflow’: tests/asn1/tests/Test_overflow.c:48:50: error: left shift of negative value [-Werror=shift-negative-value] 48 | unsigne

Re: [PATCH v19 22/33] key_protector: Add TPM2 Key Protector

2024-09-18 Thread Stefan Berger
On 9/6/24 5:11 AM, Gary Lin via Grub-devel wrote: From: Hernan Gatta The TPM2 key protector is a module that enables the automatic retrieval of a fully-encrypted disk's unlocking key from a TPM 2.0. The theory of operation is such that the module accepts various arguments, most of which are

Re: [PATCH v19 00/33] Automatic Disk Unlock with TPM2

2024-09-18 Thread Stefan Berger
On 9/18/24 10:09 AM, Stefan Berger wrote: On 9/17/24 11:05 PM, Gary Lin wrote: On Mon, Sep 16, 2024 at 01:42:18PM -0400, Stefan Berger wrote: tests/asn1/tests/Test_overflow.c: In function ‘test_overflow’: tests/asn1/tests/Test_overflow.c:48:50: error: left shift of negative value [-Werr