Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-20 Thread Eric Snowberg
> On Mar 19, 2020, at 10:37 AM, Stefan Berger wrote: > > On 3/18/20 6:17 PM, Simon Hardy wrote: I was wondering whether it would not be possible to load the raw file into memory, pass it to the firmware for hashing (and logging) via the verifier, and if we do not trust that the fi

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-19 Thread Stefan Berger
On 3/18/20 6:17 PM, Simon Hardy wrote: I was wondering whether it would not be possible to load the raw file into memory, pass it to the firmware for hashing (and logging) via the verifier, and if we do not trust that the firmware treated the file data as a read-only array, load the file again in

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-18 Thread Simon Hardy
> > I was wondering whether it would not be possible to load the raw file > > into memory, pass it to the firmware for hashing (and logging) via the > > verifier, and if we do not trust that the firmware treated the file data > > as a read-only array, load the file again into the same array right >

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-18 Thread Stefan Berger
On 3/18/20 3:32 PM, Stefan Berger wrote: On 3/18/20 11:59 AM, Simon Hardy wrote: The 2020/03/17 13:15, Stefan Berger wrote:   I trying to add (v)TPM support for the ieee1275/powerpc64 platform to grub. The issue I have been running into is that the verifier runs out of memory. At that point it

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-18 Thread Stefan Berger
On 3/18/20 11:59 AM, Simon Hardy wrote: The 2020/03/17 13:15, Stefan Berger wrote:  I trying to add (v)TPM support for the ieee1275/powerpc64 platform to grub. The issue I have been running into is that the verifier runs out of memory. At that point it has loaded the (~ 32MB) Linux kernel and n

Re: Verifier running out of memory on ieee1275/powerpc64

2020-03-18 Thread Simon Hardy
The 2020/03/17 13:15, Stefan Berger wrote: >  I trying to add (v)TPM support for the ieee1275/powerpc64 platform to grub. > The issue I have been running into is that the verifier runs out of memory. > At that point it has loaded the (~ 32MB) Linux kernel and now the verifier > is invoked to load t

Verifier running out of memory on ieee1275/powerpc64

2020-03-17 Thread Stefan Berger
Hello!  I trying to add (v)TPM support for the ieee1275/powerpc64 platform to grub. The issue I have been running into is that the verifier runs out of memory. At that point it has loaded the (~ 32MB) Linux kernel and now the verifier is invoked to load the file. Unfortunately it cannot load