- Mar 02, 2021
-
-
Simon Glass authored
Add support for this so that the TPM can be set up for use with Chromium OS verified boot. Signed-off-by:
Simon Glass <sjg@chromium.org> Acked-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
Simon Glass authored
Update tpm2_clear() and tpm2_pcr_extend() so that the command size is not repeated twice. Add a small comment to the latter. Signed-off-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org>
-
- Dec 03, 2020
-
-
Ilias Apalodimas authored
The current tpm2_pcr_extend is hardcoded using SHA256. Let's make the actual command to the TPM2 configurable so we can support a wider range of algorithms and keep the current command line as-is i.e limited to SHA256 only Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- Nov 09, 2020
-
-
Ilias Apalodimas authored
For implementing the EFI_TCG2_PROTOCOL we need the count field returned by the TPM when reading capabilities via tpm2_get_capability(). Adjust the implementation of the 'tpm2 get_capability' command accordingly. Suggested-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by:
Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- Jul 08, 2020
-
-
Dhananjay Phadke authored
Add support for TPM2 GetRandom command Signed-off-by:
Dhananjay Phadke <dphadke@linux.microsoft.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
- May 19, 2020
-
-
Simon Glass authored
Move this uncommon header out of the common header. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- Nov 29, 2018
-
-
Simon Glass authored
At present many TPM calls assume there is only one TPM in the system and look up this TPM themselves. This is inconsistent with driver model, which expects all driver methods to have a device parameter. Update the code to correct this. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
- May 26, 2018
-
-
Miquel Raynal authored
Add support for the TPM2_PCR_SetAuthPolicy and TPM2_PCR_SetAuthValue commands. Change the command file and the help accordingly. Note: These commands could not be tested because the TPMs available do not support them, however they could be useful for someone else. The user is warned by the command help. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_HierarchyChangeAuth command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_DictionaryAttackParameters and TPM2_DictionaryAttackLockReset commands. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_GetCapability command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_PCR_Read command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_PCR_Extend command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_Clear command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_Selftest command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Add support for the TPM2_Startup command. Change the command file and the help accordingly. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-
Miquel Raynal authored
Choice between v1 and v2 compliant functions is done with the configuration. Create the various files that will receive TPMv2-only code on the same scheme as for the TPMv1 code. Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by:
Simon Glass <sjg@chromium.org> Reviewed-by:
Tom Rini <trini@konsulko.com>
-