Commit Graph

5 Commits (6daac56d1a9f7faaa8346e27468e21e15d174861)

Author SHA1 Message Date
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 d672e36b2f Fix for building GPIO example without ST/auto-detect. Cleanup obsolete `txBuf[4] = 0x00;` replaced with SPI check wait state logic. 2021-05-06 11:52:51 -07:00
Elms 60ed683326 gpio: update program names in `README` and `usage()` 2021-04-21 14:43:58 -07:00
Elms 3d27101d58 make: Rename GPIO example source files to avoid conflict
New GPIO examples `read` conflicts with NVRAM example on `make install`
2021-04-21 14:24:57 -07:00
Dimitar Tomov 35674052bb Added new example to demo TPM 2.0 extra GPIO control
* Create NV Index for GPIO access right after TPM2_GPIO_Config
* Set and read example to use the NV index created by the config example
* Added instructions about the new gpio examples
* Added vendor check, right now only ST33 supports TPM extra GPIO
* NV Index for GPIO Input requires an extra step, included in gpio/config
* Added sanity check and NV Index delete before new GPIO configuration
* Changes based on peer review

Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2021-04-08 08:35:14 -07:00