JacobBarthelmeh
48e140111c
Merge pull request #380 from dgarske/tpm_io_stm
...
Fix for STM32 GPIO SPI CS control to use pin number as bit offset
2024-09-19 15:14:38 -06:00
David Garske
4b56cfa313
Fix for STM32 GPIO SPI CS control to use pin number as bit offset, not direct.
2024-09-17 09:36:18 -07:00
JacobBarthelmeh
3598e01544
Merge pull request #378 from dgarske/rc_warn
...
Proper fix for the RC_WARN error codes
2024-09-13 11:26:14 -06:00
David Garske
d7f1e48669
Proper fix for the RC_WARN error codes. Broken in commit f983525f56
(PR #336 ). ZD18641
2024-09-13 10:04:01 -07:00
philljj
6020acfe4e
Merge pull request #376 from dgarske/tls_idevid
...
Improve the TPM TLS examples for use with `WOLFTPM_MFG_IDENTITY`
2024-09-11 15:35:10 -04:00
David Garske
8b5c5fe897
Peer review feedback. Cleanups for code comments, logging and white-space.
2024-09-11 12:12:15 -07:00
Eric Blankenhorn
a1449d4a18
Merge pull request #377 from dgarske/tpm_pcr
...
Added tests for policy seal/unseal with multiple PCR's.
2024-09-11 10:31:46 -05:00
Eric Blankenhorn
765c7d7adc
Merge pull request #375 from dgarske/restrict_decrypt
...
Per TCG spec RSA/ECC symmetric field should only be populated for restricted/decrypt
2024-09-11 08:35:45 -05:00
David Garske
460e6003c9
Added tests for policy seal/unseal with multiple PCR's.
2024-09-10 11:53:13 -07:00
David Garske
03070dabd7
Improve the TPM TLS examples for use with `WOLFTPM_MFG_IDENTITY`. Tested with ST33KTPM2X SEMI-CUSTOM DEVICE ID.
2024-09-09 10:35:22 -07:00
David Garske
d2a4121481
Per TCG spec RSA/ECC symmetric field should only be populated for restricted and decrypt. ZD 18560
2024-09-04 10:00:44 -07:00
Eric Blankenhorn
e2ef780682
Merge pull request #374 from dgarske/nofilesystem
...
Fix and test for no filesystem
2024-09-03 08:13:33 -05:00
David Garske
1603cfdaaf
More fixes for no filesystem.
2024-08-30 09:58:04 -07:00
David Garske
2a5e74113b
Fix and test for no filesystem.
2024-08-30 08:02:39 -07:00
David Garske
8df0ddc23b
Merge pull request #373 from bandi13/fixDocumentation
...
Minor documentation fixes
2024-08-28 06:20:55 -07:00
Andras Fekete
3977395738
Minor documentation fixes
2024-08-28 09:13:56 -04:00
Eric Blankenhorn
db9e83422a
Merge pull request #369 from dgarske/certify
...
Added example for TPM2_Certify
2024-08-22 13:06:18 -05:00
David Garske
a6d7ed8695
Added example for `TPM2_Certify`:
...
* Added new build option for TPM provisioning (`--enable-provisioning` on by default).
* Added new `wolfTPM2_CreatePrimaryKey_ex` and `WOLFTPM2_PKEY` that supports returning creation ticket/hash.
* Added key templates for initial device (IDevID) and attestation keys (IAK).
* Extended `create_primary` example to support creation or IDevID and IAK.
* Added new policy hash helper API `wolfTPM2_PolicyHash`
* Switch handle/nvIndex string parsing to use `strtoul`.
ZD 18347
2024-08-22 10:38:01 -07:00
Eric Blankenhorn
fc683a1cc0
Merge pull request #372 from dgarske/pcrsel
...
Fixes for PCR selection and keygen with `-sym=` option
2024-08-22 12:06:52 -05:00
David Garske
a98d0b0d3c
Improve the unit test for PCR select with HASH_COUNT.
2024-08-22 07:39:32 -07:00
David Garske
070232104e
Fixes for keygen with `-sym=`.
2024-08-21 11:55:17 -07:00
David Garske
a012348fe9
Fixes for `TPM2_SetupPCRSel`. Added test cases. Fixes ZD 18492
2024-08-21 11:29:08 -07:00
Eric Blankenhorn
1cea780851
Merge pull request #371 from dgarske/zd18470
...
Fixes and new tests for building wolfCrypt/wolfTPM without ECC or RSA
2024-08-21 09:56:24 -05:00
David Garske
026c82f799
Fixes and new tests for building wolfCrypt/wolfTPM without ECC or RSA. Fixes ZD 18470. Improved smallstack (eliminated `WOLFTPM2_MAX_BUFFER`). Fixes for building with NO_ASN.
2024-08-19 09:55:15 -07:00
David Garske
f1ce2d268f
Merge pull request #367 from bandi13/fixDoxyfile
...
Minor naming fix
2024-08-01 21:08:56 -07:00
Andras Fekete
10a077838a
Minor naming fix
2024-08-01 22:48:21 -04:00
Eric Blankenhorn
dcd5172d99
Merge pull request #366 from dgarske/devtpm
...
Various improvements for `/dev/tpm0`
2024-08-01 08:47:29 -05:00
David Garske
522ba02235
Fix the udev instructions.
2024-07-31 13:41:12 -07:00
David Garske
6951b8d307
Fix for /dev/tpm0 file descriptor check ( fixes #365 ). Added documentation for /dev/tpm0 permissions ( fixes #358 ). Various spelling and documentation cleanups.
2024-07-31 11:21:53 -07:00
András Fekete
196c06cde6
Merge pull request #364 from dgarske/license
...
Fix issue with license header matching.
2024-07-30 18:15:14 -04:00
David Garske
ae9aa4a725
Fix issue with license header matching.
2024-07-30 15:10:52 -07:00
András Fekete
724ff3788e
Merge pull request #363 from dgarske/rel_v3.4.0_append
...
Various fixes for v3.4.0 release
2024-07-30 17:57:43 -04:00
David Garske
a441646682
Fixes for wolfTPM documentation generation.
2024-07-30 14:52:34 -07:00
David Garske
62eff27459
Updated CMake to include new examples. Fixed doxygen issue with `wolfTPM2_GetKeyTemplate_EK` -> `curveID`. Fixed issue with possible create key timeout by always adding `XTPM_WAIT` for Linux.
2024-07-30 13:21:45 -07:00
Eric Blankenhorn
642beec340
Merge pull request #362 from dgarske/rel_v3.4.0
...
wolfTPM v3.4.0 release
2024-07-30 11:23:15 -05:00
David Garske
95ae2f7459
wolfTPM v3.4.0 release.
...
* Fixes for building without wolfCrypt or heap.
* Fix for building wolfTPM DLL (was missing tbs.lib).
* Fix for `wolfTPM2_New` to provide default TPM2 HAL IO callback.
2024-07-30 09:09:24 -07:00
Eric Blankenhorn
b36f792416
Merge pull request #361 from dgarske/idevid
...
Fixes for latest ST33KTPM IAK/IDevID provisioning
2024-07-26 18:00:46 -05:00
Eric Blankenhorn
4b0e42c1f3
Merge pull request #360 from dgarske/get_ek_certs
...
Support for getting TPM EK Certificates
2024-07-26 18:00:38 -05:00
David Garske
8f1e35a342
Peer review (spelling / grammar).
2024-07-26 15:12:22 -07:00
David Garske
dc2b91d056
Fixes for latest ST33KTPM IAK/IDevID provisioning. Added documentation for build options.
2024-07-26 14:49:31 -07:00
David Garske
65d0e6aa76
Documentation and minor fixes. Tested with older SLB9670 and ST33TPH.
2024-07-26 14:38:29 -07:00
David Garske
57f12df97b
Support for getting TPM EK Certificates. Added `wolfTPM2_GetKeyTemplate_EK` and `wolfTPM2_GetKeyTemplate_EK` API's for getting EK public templates for generating the EK primary key. Fix TLS example build issues with wolfSSL not having crypto callback or PK callback enabled.
2024-07-26 13:02:57 -07:00
JacobBarthelmeh
fb7e321ac0
Merge pull request #359 from dgarske/csr_ver
...
CSR version
2024-06-20 14:48:02 -06:00
David Garske
a883ee95a5
Use version 0 for CSR. ZD 18153
2024-06-18 07:58:19 -07:00
JacobBarthelmeh
16ba07afef
Merge pull request #357 from dgarske/doc_fix
...
Fix issue with Doxygen generation in tpm2.h due to unnamed enum
2024-06-05 15:40:03 -06:00
David Garske
b33e6b3187
Fix issue with Doxygen generation of wolfTPM due to doxybook2 crashing on unnamed enum.
2024-06-05 14:34:05 -07:00
David Garske
d01a46fb70
Merge pull request #355 from gasbytes/patch
...
memcmp -> memcpy
2024-05-27 16:44:39 -07:00
gasbytes
5f9ff208f2
memcmp -> memcpy
2024-05-27 22:10:22 +02:00
Eric Blankenhorn
61abbc1073
Merge pull request #350 from dgarske/policyauth
...
Improvements in auth handling to support Policy Password and Policy Auth Value
2024-05-24 09:37:37 -05:00
David Garske
9a9ac2aec6
Fix docs.
2024-05-20 17:03:29 -07:00