Commit Graph

1213 Commits (master)

Author SHA1 Message Date
David Garske e02518dc3e Added `TPM2_CreatePrimary` test. 2018-02-15 15:45:15 -08:00
David Garske 78876923cc Adds wrapper code. Adds tests for `TPM2_PolicyPCR` and `TPM2_FlushContext`. 2018-02-15 10:20:19 -08:00
David Garske e9ffa0b32a Added `TPM2_PolicyGetDigest` test. 2018-02-14 14:59:49 -08:00
David Garske 43b0682dd8 Fixes for proper handling of `TPMT_SYM_DEF` or `TPMT_SYM_DEF_OBJECT` when `TPM_ALG_NULL` (don't append keyBits and mode). Refactor of the param details and scheme. Refactor of the session information into TPM context. 2018-02-14 14:11:01 -08:00
David Garske 4cb379ae43 Progress on `TPM2_StartAuthSession`. Enhancements for debugging. 2018-02-09 11:39:50 -08:00
David Garske 21cdfd7f03
Merge pull request #2 from dgarske/tpm2_linux
TPM platform support for Raspberry Pi (linux)
2018-02-08 14:54:51 -08:00
David Garske e726f145ca Fixes for the STM32 and Raspberry Pi demo platforms. 2018-02-08 14:52:59 -08:00
David Garske 156fc9b521 Added Linux SPI stdio support for running on Rasberry Pi. Cleanups for wolfTPM. 2018-02-08 12:21:39 -08:00
David Garske 9036e7bdec Fixes for building TPM2 demo project. 2018-02-07 16:25:24 -08:00
David Garske 00daddaef6 Fix brace error causing final step of make to fail. 2018-02-07 16:12:54 -08:00
David Garske 35a585828b Updates to the IDE example for STM32. 2018-02-07 15:28:31 -08:00
David Garske 8bf8ae340f wolfTPM v1.0 TPM 2.0 support:
* Support for all TPM2 API's using TIS and SPI IO callback.
* Helper for getting TPM return code string `TPM2_GetRCString`.
* TPM 2.0 demo code in `examples/tpm/tpm2_demo.c` with support for STM32 CubeMX SPI as reference.

Requires wolfSSL (https://github.com/wolfSSL/wolfssl/pull/1344)
2018-02-06 16:27:50 -08:00
toddouska d222d710f0
Initial commit 2018-01-30 10:52:42 -08:00