Re: [PATCH v2 4/6] binman: capsule: Use dumped capsule header contents for verification

2023-10-13 Thread Simon Glass
On Tue, 10 Oct 2023 at 02:12, Sughosh Ganu wrote: > > The various fields of a generated capsule are currently verified > through hard-coded offsets. Use the dump-capsule feature for dumping > the capsule header contents and use those for capsule verification. > > Signed-off-by: Sughosh Ganu > ---

Re: [PATCH v2 4/6] binman: capsule: Use dumped capsule header contents for verification

2023-10-11 Thread Simon Glass
On Tue, 10 Oct 2023 at 02:12, Sughosh Ganu wrote: > > The various fields of a generated capsule are currently verified > through hard-coded offsets. Use the dump-capsule feature for dumping > the capsule header contents and use those for capsule verification. > > Signed-off-by: Sughosh Ganu > ---

[PATCH v2 4/6] binman: capsule: Use dumped capsule header contents for verification

2023-10-10 Thread Sughosh Ganu
The various fields of a generated capsule are currently verified through hard-coded offsets. Use the dump-capsule feature for dumping the capsule header contents and use those for capsule verification. Signed-off-by: Sughosh Ganu --- Changes since V1: * Move the get_binman_test_guid() function ou