On Wed, Apr 05, 2017 at 02:25:17PM +0200, Roberto Sassu wrote: > On 4/5/2017 2:12 PM, Jarkko Sakkinen wrote: > > On Wed, Mar 29, 2017 at 12:24:49PM +0200, Roberto Sassu wrote: > > > TCG mandates that all PCR banks must be extended during the same > > > operation. > > > tpm2_pcr_extend() will check whether all digests have been provided. > > > > > > The check is necessary because tpm2_pcr_extend() will be called by a new > > > function, allowing callers to provide a digest for each PCR bank. > > > > > > Signed-off-by: Roberto Sassu <[email protected]> > > > > When can this happen? > > Hi Jarkko > > I'm extending IMA to calculate the event data digest multiple > times, for each algorithm selected by the user and supported by > the TPM. > > You can have a look at the cover letter of the patch set: > > https://sourceforge.net/p/linux-ima/mailman/message/35757172/ > > > and at the patch which calls the functions I added to the > TPM driver interface: > > https://sourceforge.net/p/linux-ima/mailman/message/35757195/ > > Thanks > > Roberto
You should explain this use in these commits. /Jarkko ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ tpmdd-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tpmdd-devel
