Commit Graph

1036 Commits (1fa15951eb91a8fe89b3326077b9be6fb105edeb)

Author SHA1 Message Date
JacobBarthelmeh 1fa15951eb
Merge pull request #343 from dgarske/v3.2.0-relprep
wolfTPM release v3.2.0 prep
2024-04-24 11:58:16 -06:00
David Garske c98ee9a71e Update copyright date. 2024-04-24 10:42:27 -07:00
David Garske 4157ed5689 Release v3.2.0 prep. 2024-04-24 10:42:25 -07:00
JacobBarthelmeh 1126c2ebfc
Merge pull request #344 from dgarske/nv_auth_policy
Added new API for allowing NV creation with policy
2024-04-24 11:02:51 -06:00
David Garske 7a2a566b68 Add comment about nvIndex name. 2024-04-22 14:57:31 -07:00
JacobBarthelmeh eede95dcd3
Merge pull request #342 from dgarske/infineon_fw_recovery
Add Infineon firmware update recovery support
2024-04-22 11:00:12 -06:00
David Garske 377099af09 Added new API for allowing NV creation with policy. 2024-04-22 09:58:49 -07:00
David Garske 4a2e2506a4 Add Infineon firmware update recovery support. 2024-04-18 11:02:34 -07:00
David Garske 6a5316f17f
Merge pull request #341 from night1rider/Coexist_TLS_Example
Fix TLS examples to not use openssl compatibility macros
2024-04-05 12:42:43 -07:00
Zackery Backman b16a2b133c OPenSSL Coexist 2024-04-05 13:37:06 -06:00
philljj 53d8179142
Merge pull request #339 from dgarske/infineon_slb_fw
Support for Infineon SLB9672/SLB9673 Firmware upgrade
2024-04-03 14:35:56 -05:00
David Garske 062cfe9b79 Added Infineon CyHal SPI support. 2024-04-02 09:37:32 -07:00
David Garske d9152872d3 Peer review cleanups. 2024-04-02 08:29:04 -07:00
David Garske 892726e6b5 Added support for Infineon SLB9672/SLB9673 Firmware upgrade (see examples/firmware/README.md)
Added Infineon Modus Toolbox support. See `wolfssl/IDE/Infineon/README.md` for setup instructions.
Added support for Infineon CyHal I2C support.
Added Firmware extraction tool
Added Firmware update example application `examples/firmware/ifx_fw_update`.
Added support for vendor capabilities `TPM_CAP_VENDOR_PROPERTY`.
Added `XSLEEP_MS` macro for firmware update delay.
Added support for getting key group id, operational mode and update counts.
Added support for abandoning an update.
Added support for firmware update done, but not finalized
Fix auto-detect to not define SLB9672/SLB9673.
2024-04-01 17:21:18 -07:00
philljj 2cde4102b2
Merge pull request #336 from dgarske/st33_getprodinfo
Added ST33 support for pre-provisioned device identity key and certificate
2024-04-01 13:42:47 -05:00
philljj dbb0f6d81b Fix TEST_SAMPLE build. 2024-04-01 12:17:36 -05:00
David Garske f1ebd4320a Fix `wolfTPM2_NVReadCert` on success case. 2024-03-26 10:06:44 -07:00
Zackery d44b7e1b77
Merge pull request #338 from dgarske/no_filesystem
Fixes for building wolfTPM examples with `NO_FILESYSTEM`
2024-03-23 15:14:37 -06:00
David Garske eed7803e96 Fixes for building wolfTPM examples with NO_FILESYSTEM. Tested with `./configure --enable-swtpm CFLAGS="-DNO_FILESYSTEM" && make`. 2024-03-22 14:24:18 -07:00
David Garske e87af04cc3 Fix ST33 part descriptions. Update example certificates. 2024-03-20 17:32:56 -07:00
David Garske 626beaf4d7 Fixes for native_test with ST33 and `TPM2_GetRandom2`. 2024-03-20 15:23:44 -07:00
David Garske f983525f56 Fix for ST33 vendor command to enable command codes (TPM2_SetCommandSet). It requires platform auth to be set. Add benchmarks for new ST33KTPM2XI2C. Fix 0x1XX error code parsing. 2024-03-20 15:13:53 -07:00
David Garske 551d7da51d Add example for using TPM pre-provisioned device identity to TLS client example. 2024-03-20 15:11:58 -07:00
David Garske 63bb85ae9d Add support for pre-provisioned TPM using the "TPM 2.0 Keys for Device Identity and Attestation" specification. Build macro: `WOLFTPM_MFG_IDENTITY`. 2024-03-20 15:11:58 -07:00
David Garske c4880bee18 ST33 Vendor command for getting product info. 2024-03-20 15:11:58 -07:00
philljj 462c1fe750
Merge pull request #337 from dgarske/infineon_slb
Updates for Infineon SLB9673 (I2C)
2024-03-20 15:05:56 -07:00
philljj 4cfb3a2946
Merge pull request #335 from dgarske/docs
Documentation fixes
2024-03-20 14:51:53 -07:00
David Garske bfd1205611 Updates for Infineon SLB9673 (I2C). 2024-03-20 14:23:22 -07:00
David Garske 93441f0e59 Documentation fixes. 2024-03-18 15:38:38 -07:00
lealem47 9622323169
Merge pull request #334 from dgarske/cryptocb_hash
Fix for crypto callback hashing return code initialization
2024-03-08 14:44:11 -07:00
David Garske 040051e5c6 Fix for crypto callback hashing return code initialization. ZD 17634 2024-03-07 11:14:56 -08:00
Daniel Pouzzner 0e7bcf38b7
Merge pull request #333 from dgarske/netdb
Fix for netdb.h
2024-03-01 18:35:55 -05:00
David Garske 0b60fae993 Fix for netdb.h. 2024-03-01 11:51:27 -08:00
Daniel Pouzzner 161841178c
Merge pull request #332 from dgarske/pedantic
Fixes for building with "-Wpedantic"
2024-03-01 02:40:17 -05:00
David Garske 53bf0f4a0f For the TLS examples and SWTPM interface that use POSIX sockets make sure `netdb.h` is included. Previously wolfSSL always included netdb.h, but now it requires `HAVE_NETDB_H`. 2024-02-29 10:43:26 -08:00
David Garske 35bf0b9649 Use C style comments. 2024-02-29 08:20:51 -08:00
David Garske 225a352bd4 Fixes for building with "-Wpedantic". ZD 17592 2024-02-28 17:06:55 -08:00
Eric Blankenhorn 46ef684106
Merge pull request #328 from dgarske/cap_handles
Added support for getting handles from capabilities
2024-02-09 09:33:08 -06:00
Eric Blankenhorn aded0e9fe1
Merge pull request #331 from dgarske/autoconf_2
Fix for two missed files for config.h
2024-02-09 09:31:12 -06:00
David Garske f7665ee0db Documentation fixes. 2024-02-09 06:55:16 -08:00
David Garske ada472113c Fix for two missed files for config.h. Found using `git grep -L "HAVE_CONFIG_H" -- **/*.c`. 2024-02-08 17:11:36 -08:00
Eric Blankenhorn cbcb011769
Merge pull request #330 from dgarske/autoconf
Fix for config.h
2024-02-08 12:36:07 -06: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 e078e15f56 Added new API `wolfTPM2_GetHandles` to get list of handles from the TPM capabilities. ZD 17328 2024-02-06 10:48:16 -08:00
Daniel Pouzzner b676415d18
Merge pull request #329 from dgarske/fix_cmake
Fixes for CMake tests
2024-02-06 13:46:51 -05:00
David Garske 7f969e47da Fixes for CMake tests. 2024-02-06 10:02:39 -08:00
lealem47 bc1415d0da
Merge pull request #327 from dgarske/sealing_fixes
Fixes and improvements for secret sealing/unsealing
2024-02-02 17:18:03 -07:00
David Garske c34a0c2786 Fixes and improvements for secret sealing/unsealing:
* Do not set userWithAuth by default when creating sealed objects. That flag allows password auth for the sealed object. Without the flag it only allows policy auth.
* Allow setting policy auth with flags.
* Fix secret_unseal to use policy session and valid sealed name.
* Added expected failure test cases for seal/unseal with policy.
* Improve the run_examples.sh script
2024-02-02 14:45:44 -08:00
lealem47 0b3448c8d9
Merge pull request #326 from dgarske/htons
Type cleanups for htons and byte swap
2024-01-29 10:18:53 -07:00
David Garske a2a45d2a3d Match byte swap logic with wolfSSL (use WOLF_ALLOW_BUILTIN). 2024-01-26 14:26:54 -08:00