Re: [PATCH] security/integrity: fix pointer to ESL data and its size on pseries

2023-06-07 Thread Jarkko Sakkinen
On Wed Jun 7, 2023 at 3:28 PM EEST, Nayna wrote: > > On 6/6/23 16:51, Jarkko Sakkinen wrote: > > On Tue Jun 6, 2023 at 8:26 PM EEST, Nayna Jain wrote: > >> On PowerVM guest, variable data is prefixed with 8 bytes of timestamp. > >> Extract ESL by stripping off the timestamp before passing to ESL pa

Re: [PATCH] security/integrity: fix pointer to ESL data and its size on pseries

2023-06-07 Thread Nayna
On 6/6/23 16:51, Jarkko Sakkinen wrote: On Tue Jun 6, 2023 at 8:26 PM EEST, Nayna Jain wrote: On PowerVM guest, variable data is prefixed with 8 bytes of timestamp. Extract ESL by stripping off the timestamp before passing to ESL parser. Cc: sta...@vger.kenrnel.org # v6.3 ? Aah yes. Misse

Re: [PATCH] security/integrity: fix pointer to ESL data and its size on pseries

2023-06-06 Thread Jarkko Sakkinen
On Tue Jun 6, 2023 at 8:26 PM EEST, Nayna Jain wrote: > On PowerVM guest, variable data is prefixed with 8 bytes of timestamp. > Extract ESL by stripping off the timestamp before passing to ESL parser. > Cc: sta...@vger.kenrnel.org # v6.3 ? > Fixes: 4b3e71e9a34c ("integrity/powerpc: Support load

[PATCH] security/integrity: fix pointer to ESL data and its size on pseries

2023-06-06 Thread Nayna Jain
On PowerVM guest, variable data is prefixed with 8 bytes of timestamp. Extract ESL by stripping off the timestamp before passing to ESL parser. Fixes: 4b3e71e9a34c ("integrity/powerpc: Support loading keys from PLPKS") Signed-off-by: Nayna Jain --- .../integrity/platform_certs/load_powerpc.c |