Re: [PATCH 3/6] efi_loader: Implement EFI variable handling via OP-TEE

2020-05-11 Thread Ilias Apalodimas
On Sat, May 09, 2020 at 11:14:51AM +0200, Heinrich Schuchardt wrote: > > + in_name_size = u16_strsize(variable_name); [...] > > The UEFI spec requires: "The size must be large enough to fit input > string supplied in VariableName buffer." > > Further it is required to return

Re: [PATCH 3/6] efi_loader: Implement EFI variable handling via OP-TEE

2020-05-11 Thread Ilias Apalodimas
Hi Heinrich, On Sat, May 09, 2020 at 11:14:51AM +0200, Heinrich Schuchardt wrote: > On 5/6/20 9:12 PM, Ilias Apalodimas wrote: > > In OP-TEE we can run EDK2's StandAloneMM on a secure partition. > > StandAloneMM is responsible for the UEFI variable support. In > > combination with OP-TEE and it's

Re: [PATCH 3/6] efi_loader: Implement EFI variable handling via OP-TEE

2020-05-09 Thread Heinrich Schuchardt
On 5/6/20 9:12 PM, Ilias Apalodimas wrote: > In OP-TEE we can run EDK2's StandAloneMM on a secure partition. > StandAloneMM is responsible for the UEFI variable support. In > combination with OP-TEE and it's U-Boot supplicant, variables are > authenticated/validated in secure world and stored on