Re: [PATCH 1/1] tpm: add sysfs exports for all banks of PCR registers

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

 



On Tue, 2020-07-21 at 08:06 -0700, James Bottomley wrote:
> On Tue, 2020-07-21 at 08:30 -0400, Mimi Zohar wrote:

> I think the sysfs output should be a pure hash to save having to
> massage it.  However, if you want the 1.2 format, this is the script I
> use:
> 
> a=0; while [ $a -lt 24 ]; do printf "PCR-%02d: " $a; cat
> /sys/class/tpm/tpm0/pcr-sha1/$a; a=$[$a+1]; done

The TPM 1.2 format is a bit different, but this provides the PCRs and
digests sequentially.

thanks,

Mimi



[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