Commit Graph

59 Commits (e4ea0950e08076d4bc9a865d653ebcf6afcc15a1)

Author SHA1 Message Date
David Garske ae57221b4e Improved handling for command code not supported TPM_RC_COMMAND_CODE on TPM2_EncryptDecrypt2 calls. 2018-08-27 14:31:40 -07:00
David Garske 91c4feff2b Completed adding support for symetric AES encrypt/decrypt support. Works on ST33 only. The command is off by default. ST provided details for enabling this command using a vendor sepecific command. 2018-08-27 14:09:34 -07:00
David Garske 765d825dee Improvements to the Native tests. Adding support for `TPM2_EncryptDecrypt2` in native test. Appears to be an unsupported command on the SLB 9670. AES Key creation does work. 2018-08-27 14:09:34 -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 3e462b0172 Added TPM bechmarking support. 2018-05-25 11:59:55 -07:00
Jacob Barthelmeh f9f1c24641 static analysis warnings 2018-05-22 10:45:17 -06:00
David Garske bf725524de Removed the execute bit on new files. 2018-05-21 23:07:26 +00: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