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
David Garske
b27e6c5874
Remove unused `XHTONS` and `arpa/inet.h`.
2024-01-26 14:26:54 -08:00
lealem47
0adf473e31
Merge pull request #325 from dgarske/stmicro
...
Improve STMicro product naming
2024-01-26 12:32:32 -07:00
David Garske
db112717cc
Improve STMicro product naming.
2024-01-25 12:32:55 -08:00
lealem47
f1e74a1c96
Merge pull request #324 from dgarske/stm32_cube_template
...
Improvements to the STM32Cube template
2024-01-24 12:46:01 -07: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
JacobBarthelmeh
d492f0009b
Merge pull request #323 from dgarske/rsa_pubexport
...
Fix build error with missing `wc_RsaKeyToPublicDer_ex`
2024-01-19 14:00:11 -08:00
David Garske
9f243d39bb
Improve the ECC macro checks for `wc_EccPublicKeyToDer`.
2024-01-19 13:26:19 -08:00
David Garske
9e9285fce4
Fix build error with missing `wc_RsaKeyToPublicDer_ex`.
2024-01-19 09:53:43 -08:00
JacobBarthelmeh
6fcac417ee
Merge pull request #322 from dgarske/pkcs7_ecc
...
Added PKCS7 ECC support to example
2024-01-18 14:22:24 -08:00
JacobBarthelmeh
903a0cfefc
Merge pull request #321 from dgarske/20231229_cleanups
...
Added expanded key template and cleanups
2024-01-18 08:51:47 -08:00
David Garske
0aa01f4f5a
Added PKCS7 ECC support to example. Added wrapper function to export TPM public key as DER/ASN.1 or PEM. Fix for crypto callback ECC sign to handle getting keySz for unknown cases (like PKCS7 without privateKey set).
2024-01-17 15:50:30 -08:00
David Garske
457bf8725d
Add missing TODO item.
2024-01-16 11:51:53 -08:00
David Garske
ae60c59af7
Add _ex version for GetKeyTemplate RSA/ECC to allow setting all template parameters.
2024-01-09 13:20:25 -08:00