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
David Garske
6a32ed43ed
Fix mixed variable declaration.
2024-01-09 13:19:31 -08:00
David Garske
067bd43eac
Fix typo in change log.
2023-12-29 11:56:44 -08:00
Eric Blankenhorn
e54734a3ab
Merge pull request #319 from dgarske/rel_v3.1_prep
...
wolfTPM v3.1 release prep
2023-12-29 13:46:55 -06:00
David Garske
d9f51da00e
wolfTPM v3.1 release prep
2023-12-29 10:55:30 -08:00
Eric Blankenhorn
e9ca8681ee
Merge pull request #320 from dgarske/fix_endorsement
...
Fixes for using endorsement hierarchy
2023-12-29 12:44:06 -06:00
David Garske
310fe7cd5a
Fix spelling error. Fix CMake build broken since cryptocb refactor in PR #304 . Added CI tests for CMake.
2023-12-29 10:36:42 -08:00