Re: [PATCH 03/11] tpm: add cursor based buffer functions for response parsing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2022-12-12 at 00:50 +0000, Jarkko Sakkinen wrote:
> On Fri, Dec 09, 2022 at 11:06:03AM -0500, James Bottomley wrote:
> > It's very convenient when parsing responses to have a cursor you
> > simply move over the response extracting the data.  Add such cursor
> > functions for the TPM unsigned integer types.
> > 
> > Signed-off-by: James Bottomley
> > <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>
> 
> Saying that something is convenient is not really an argument.
> 
> What you are going to use it for? Is it complex enough that what we
> have not doesn't scale. I'd just answer these questions and write
> more reasonable commit message.

It's all used int patch 6 which gets into the complex building of
authenticated and hmac'd requests and responses via sessions using
these primitives.

James




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux Kernel]     [Linux Kernel Hardening]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux