Commit Graph

36 Commits (master)

Author SHA1 Message Date
David Garske 3e3038854c Improve input digest size logic for TPM2_Sign and TPM2_Verify. Added test case with interop. 2025-06-02 08:11:08 -07:00
David Garske 6fbb49a94f wolfTPM Release v3.9.0. Updated copyright and version. 2025-05-14 15:31:07 -07:00
David Garske 026c82f799 Fixes and new tests for building wolfCrypt/wolfTPM without ECC or RSA. Fixes ZD 18470. Improved smallstack (eliminated `WOLFTPM2_MAX_BUFFER`). Fixes for building with NO_ASN. 2024-08-19 09:55:15 -07:00
David Garske 6951b8d307 Fix for /dev/tpm0 file descriptor check (fixes #365). Added documentation for /dev/tpm0 permissions (fixes #358). Various spelling and documentation cleanups. 2024-07-31 11:21:53 -07:00
David Garske ae9aa4a725 Fix issue with license header matching. 2024-07-30 15:10:52 -07:00
David Garske 95ae2f7459 wolfTPM v3.4.0 release.
* Fixes for building without wolfCrypt or heap.
* Fix for building wolfTPM DLL (was missing tbs.lib).
* Fix for `wolfTPM2_New` to provide default TPM2 HAL IO callback.
2024-07-30 09:09:24 -07:00
gojimmypi 4f3b57a6e2 flexibility for I2C_MASTER_NUM, add settings comments 2024-05-13 11:43:33 -07:00
gojimmypi fb19d7a0e1 Initial Infineon I2C TPM support for Espressif ESP32 2024-05-10 14:16:39 -07:00
David Garske c98ee9a71e Update copyright date. 2024-04-24 10:42:27 -07:00
David Garske b395b65287 Fix for config.h, which should only be included from .c files, not headers. ZD 17473 2024-02-07 14:28:33 -08:00
David Garske 2d210d63b8 Improvements to the STM32Cube template. Setup so next pack can add small stack and transport options: `WOLFTPM_CONF_SMALL_STACK` and `WOLFTPM_CONF_TRANSPORT` (0=SPI, 1=I2C). 2024-01-24 10:50:02 -08:00
David Garske fb132a7b88 Downgrade Visual Studio version support to 2012. VS upgrade/retarget is supported and tested with 2022. 2023-12-06 15:15:41 -08:00
David Garske 65e03e15e6 Added Windows Visual Studio project for wolfTPM. 2023-12-06 15:10:44 -08:00
David Garske 0f69ba5b2a Fix type cast warnings. 2023-12-05 09:24:49 -08:00
David Garske 14d766512f Fixes for STM32 I2C. 2023-10-04 15:31:30 -07:00
Lealem Amedie 5f7d7a2e43 Address more feedback 2023-08-03 15:34:25 -06:00
Lealem Amedie eefcf98086 Address feedback 2023-08-03 11:44:21 -06:00
Lealem Amedie 092f283ba4 Improve docs 2023-08-02 14:03:16 -06:00
Lealem Amedie b468d7d29a Adding STM23 Expansion Pack 2023-07-28 14:51:39 -06:00
David Garske 3f84b2efbc wolfTPM v2.5.0 release prep 2022-07-22 09:32:57 -07:00
David Garske ed1ec8c52d Support for QNX with wolfTPM:
* Fix for `wolfTPM2_NVCreateAuth` to return `TPM_RC_NV_DEFINED` if already exists (it used to do this, but broke with GPIO changes).
* Fixes for building wolfTPM with wolfCrypt only (no TLS).
* Fix for building without RSA and ECC.
* Fix for `--enable-smallstack` with parameter encryption,
* Fix for nvram/store unused variable.
2021-06-01 10:34:28 -07:00
David Garske 2b8cfb8692 wolfTPM Release v2.1.0 preparation.
* Updated copyright
* Fixed minor cast warning.
* Fixed minor scan-build warnings.
* Cleanup print public and fix possible print of uninitialized field.
2021-03-17 10:13:50 -07:00
Chris Conlon 91ef0b0e6e update copyright to 2020 2020-01-03 15:31:27 -08:00
David Garske 7887130287 wolfTPM v1.7 Release 2019-12-27 14:43:30 -08:00
David Garske 1653b2dfa9 Example for IAR EWARM. Shows building the wolfTPM library and using the wrapper API's. The hardware interface is not implemented and marked with a TODO flag. Requires fixes in PR #26. 2018-08-17 10:11:34 -07:00
David Garske 19ef638dc0 Fix for timeout checking. Fixes for OpenSTM32 project example. Started on ST33 support. Updated README.md and release note for v1.3 prep. 2018-07-19 15:45:49 -07:00
David Garske a143679b96 Fix for minor build warning with `TPM2_SetSessionAuth`. Updated the OpenSTM32 project. 2018-07-18 16:29:15 -07:00
David Garske 3e462b0172 Added TPM bechmarking support. 2018-05-25 11:59:55 -07:00
David Garske 9cec7f6131 Updates to STM32 project and README based on new test code. 2018-05-02 14:00:15 -07:00
David Garske e02518dc3e Added `TPM2_CreatePrimary` test. 2018-02-15 15:45:15 -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