% tss2_pcrextend(1) tpm2-tools | General Commands Manual % % APRIL 2019
tss2_pcrextend(1) -
tss2_pcrextend [OPTIONS]
tss2_pcrextend(1) - This command extends the data into the PCR listed. The parameter logData is extended into the PCR log. If the logData is NULL, only the PCR extend takes place. All PCRs currently active in the TPM are extended.
These are the available options:
- -x, --pcr=INTEGER:
The PCR to extend.
-
-i, --data=FILENAME or - (for stdin):
The event data to be extended.
-
-l, --logData=FILENAME or - (for stdin):
Contains a JSON representation of data to be written to the PCR's event log. Optional parameter.
tss2_pcrextend --pcr=16 --data=data.file --logData=logData.file
0 on success or 1 on failure.