1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
% tpm2_pcrreset(1) tpm2-tools | General Commands Manual
# NAME
**tpm2_pcrreset**(1) - Reset one or more PCR banks
# SYNOPSIS
**tpm2_pcrreset** [*OPTIONS*] _PCR\_INDEX_ ...
# DESCRIPTION
**tpm2_pcrreset**(1) - Reset PCR value in all banks for specified index.
More than one PCR index can be specified.
The reset value is manufacturer-dependent and is either sequence of 00 or FF
on the length of the hash algorithm for each supported bank.
_PCR\_INDEX_ is a space separated list of PCR indexes to be reset when issuing
the command.
# OPTIONS
This tool accepts no tool specific options.
[common options](common/options.md)
[common tcti options](common/tcti.md)
# EXAMPLES
## Reset a single PCR
```bash
tpm2_pcrreset 23
```
## Reset multiple PCRs
```bash
tpm2_pcrreset 16 23
```
# NOTES
On operating system's locality (generally locality 0), only PCR 23 can be reset.
PCR-16 can also be reset on this locality, depending on TPM manufacturers
which could define this PCR as resettable.
PCR 0 to 15 are not resettable (being part of SRTM). PCR 16 to 22 are mostly
reserved for DRTM or dedicated to specific localities and might not
be resettable depending on current TPM locality.
[returns](common/returns.md)
[footer](common/footer.md)
|