James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> writes: > use macro magic to create sysfs per hash groups with 24 PCR files in > them one for each possible agile hash of the TPM. The files are > plugged in to a read function which is TPM version agnostic, so this > works also for TPM 1.2 although the hash is only sha1 in that case. > For every hash the TPM supports, a group named pcr-<hash> is created > and each of the PCR read files placed under it. > > Signed-off-by: James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> > Reviewed-by: Jerry Snitselaar <jsnitsel@xxxxxxxxxx> I tested the patch on ppc64le, on the powernv platform: Tested-by: Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxx> -- Thiago Jung Bauermann IBM Linux Technology Center