Re: [PATCH] tpm: Disable tpm verifier if tpm is not present

2022-10-06 Thread Michael Chang via Grub-devel
On Thu, Oct 06, 2022 at 03:40:36PM -0400, Stefan Berger wrote: > > > On 9/8/22 00:23, Michael Chang via Grub-devel wrote: > > This helps to prevent out of memory error when reading large files via > > disablig > > tpm device as verifier has to read all content into memory in one chunk to > >

Re: [PATCH] tpm: Disable tpm verifier if tpm is not present

2022-10-06 Thread Stefan Berger
On 9/8/22 00:23, Michael Chang via Grub-devel wrote: This helps to prevent out of memory error when reading large files via disablig tpm device as verifier has to read all content into memory in one chunk to measure the hash and extend to tpm. Signed-off-by: Michael Chang ---

[PATCH] tpm: Disable tpm verifier if tpm is not present

2022-09-07 Thread Michael Chang via Grub-devel
This helps to prevent out of memory error when reading large files via disablig tpm device as verifier has to read all content into memory in one chunk to measure the hash and extend to tpm. Signed-off-by: Michael Chang --- grub-core/commands/efi/tpm.c | 37