Re: [PATCH 3/9] security: keys: trusted: Parse out individual components of the key blob

2021-02-24 Thread Jarkko Sakkinen
On Mon, Feb 22, 2021 at 07:36:27AM +, Matthew Garrett wrote: > On Sat, Feb 20, 2021 at 05:05:36AM +0200, Jarkko Sakkinen wrote: > > On Sat, Feb 20, 2021 at 01:32:49AM +, Matthew Garrett wrote: > > > Performing any sort of state validation of a sealed TPM blob requires > > > being able to

Re: [PATCH 3/9] security: keys: trusted: Parse out individual components of the key blob

2021-02-21 Thread Matthew Garrett
On Sat, Feb 20, 2021 at 05:05:36AM +0200, Jarkko Sakkinen wrote: > On Sat, Feb 20, 2021 at 01:32:49AM +, Matthew Garrett wrote: > > Performing any sort of state validation of a sealed TPM blob requires > > being able to access the individual members in the response. Parse the > > blob

Re: [PATCH 3/9] security: keys: trusted: Parse out individual components of the key blob

2021-02-19 Thread Jarkko Sakkinen
On Sat, Feb 20, 2021 at 01:32:49AM +, Matthew Garrett wrote: > Performing any sort of state validation of a sealed TPM blob requires > being able to access the individual members in the response. Parse the > blob sufficiently to be able to stash pointers to each member, along > with the

[PATCH 3/9] security: keys: trusted: Parse out individual components of the key blob

2021-02-19 Thread Matthew Garrett
Performing any sort of state validation of a sealed TPM blob requires being able to access the individual members in the response. Parse the blob sufficiently to be able to stash pointers to each member, along with the length. Signed-off-by: Matthew Garrett --- include/keys/trusted-type.h