Commit Graph

21 Commits (f0fa89a8598b1e906363859a9ec0f2a8330c2854)

Author SHA1 Message Date
David Garske 7887130287 wolfTPM v1.7 Release 2019-12-27 14:43:30 -08:00
David Garske 3ecca5c2e7 wolfTPM release prep v1.6. 2019-08-01 16:31:51 -07:00
David Garske 2beeb4b4ac Added `--enable-smallstack` build options for reducing stack usage. 2019-07-26 12:36:50 -07:00
David Garske c6e45dc580 Added new wrapper API `wolfTPM2_OpenExisting` for accessing device that's already started. Added unit test framework. 2019-07-23 14:43:40 -07:00
David Garske 31c0629ed7 wolfTPM Release v1.5 preparation. Moved the release notes to `ChangeLog.md`. 2019-02-20 14:22:55 -08:00
David Garske 19bfc49d4e Fix for polling timeout issue on RSA key gen. Improved performance for SLB9670 by adding 10us delay between polling. Tuned max SPI clock and performance for supported TPM 2.0 chips. Cleanups for the configure automake output. Updated benchmarks and console output for examples in README.md. Added self test wrapper and call to it in wrapper init to resolve ATTPM20 issue (can also be enabled using `WOLFTPM_PERFORM_SELFTEST`). 2019-02-08 17:29:34 -08:00
David Garske dc441a1555 New support for mchp `--enable-mchp`. 2019-01-30 13:41:05 -08:00
David Garske bcbbf8ed39 Prep for wolfTPM v1.4 release. Fixes for scan-build and valgrind reports. Updates to README.md. 2018-11-16 13:01:08 -08:00
David Garske 7f768a2afa Further cleanup of the I2C busy handling to avoid delay and added additional code comments. Added key gen to benchmark. Updated README.md. Configure check to ensure advanced IO is enabled for I2C. 2018-09-05 19:28:09 -07:00
David Garske 6fe075911a * Added advanced IO callback support (enabled using `--enable-advio` or `#define WOLFTPM_ADV_IO`).
* Added ST33 TPM 2.0 support (`--enable-st33` or `#define WOLFTPM_ST33`). Only SPI version is tested and verified.
* Experimental TIS I2C support (`--enable-i2c` or `#define WOLFTPM_I2C`).
* Cleanup of the IO callback examples.
* Added support for Atmel ASF SPI.
2018-08-22 16:40:33 -07:00
David Garske d8174d4ef7 Added build option to disable wolfCrypt dependency using `./configure --disable-wolfcrypt` or `#define WOLFTPM2_NO_WOLFCRYPT`. Moved types and configuration/port specific items into new `tpm2_types.h`. Removed execute bit on serveral files. 2018-08-12 15:25:35 -07:00
David Garske aa27a2ab65 Updated version to 1.3. Fixed scan-build warning with `wolfTPM2_ReadPCR`. 2018-07-20 11:08:49 -07:00
David Garske dfe634be13 Fix to handle `CFLAGS`. Added generation of configuration options in `wolftpm/options.h`. Cleanup of the `configure.ac`. 2018-05-23 13:32:09 -07:00
David Garske 114bd8974c Update autoconf M4:
* Update several of the macro files paralleling wolfSSL's m4 files.
* Force the `AR_FLAGS` to be `cr` in `configure.ac`.
* Add the `-Xcompiler` flag ahead of `-Qunused-arguments` for `-pthreads`.
2018-05-22 08:29:08 -07:00
David Garske 2d274f08b7 Fix logic error with `--enable-wrapper`. Fix for RSA encrypt/decrypt with no (NULL) padding scheme. Added RSA wrapper test for no padding. Added wrapper function to get a devId based on did_vid. Added wrapper TPM device pointer to handle. 2018-05-18 10:07:26 -07:00
David Garske 9f574a89fb Minor cleanups. Added way to get TPM's WC_RNG. 2018-05-17 16:21:10 -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 db49e917ac Split the native and wrapper test code into separate applications. Moved some of the utility wrapper functions into native area to support `WOLFTPM2_NO_WRAPPER`. Fix for storageKey auth in case when it used from NV. 2018-05-01 15:59:54 -07:00
David Garske a2785ac000 wolfTPM Release v1.1 2018-03-09 15:38:16 -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 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