diff options
| author | Raymond Mao <[email protected]> | 2025-01-27 06:58:47 -0800 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2025-01-28 08:58:41 +0200 |
| commit | 9d2bc92ba7bba25bb7827848aa4c51534aff904c (patch) | |
| tree | 142b807da1741c511f568376bcdf6d97763b0e67 /doc/develop/codingstyle.rst | |
| parent | 6d8e52a6e350e1dbf450d02fccdb2ac2b0c036e4 (diff) | |
tpm: add TPM2_PCR_Allocate command
TPM2_PCR_Allocate command is required to reconfigure a TPM device
to enable or disable algorithms in run-time, thus this patch introduces
the implementation of PCR allocate APIs and adds related cmd functions
for testing.
To test the feature, ensure that TPM is started up.
Run pcr_allocate command to turn on/off an algorithm, multiple calls
are supported and all changes will be cached:
`tpm2 pcr_allocate <algorithm_name> <on|off>`
Run startup command with argument 'off' to shutdown the TPM.
`tpm2 startup TPM2_SU_CLEAR off`
Reboot the board via `reset` to activate the changes.
Signed-off-by: Raymond Mao <[email protected]>
Acked-by: Ilias Apalodimas <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'doc/develop/codingstyle.rst')
0 files changed, 0 insertions, 0 deletions
