Dimitar Tomov
|
e1d9c661bd
|
Minor fixes for NVRAM examples
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
|
2021-03-01 10:52:02 +02:00 |
Dimitar Tomov
|
c18f421965
|
Update the examples README
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
|
2021-02-26 11:38:17 +02:00 |
David Garske
|
4c086c2f2c
|
Fix for expired wolfSSL certs and note about where those files come from. Fixes #138.
|
2021-01-11 11:58:46 -08:00 |
David Garske
|
845b3d1da2
|
Release fixes and cleanups. Fixes for init of `WOLFTPM2_HASH` in `wolfTPM2_HashStart`. Fix for for various build configurations (--disable-wrapper). Fix for Microchip "sign" bit on symmetric keys. Fix for scan-build warnings. Cleanup whitespace.
|
2020-12-07 11:01:02 -08:00 |
David Garske
|
4b0b70861c
|
Added parameter encryption support to more examples. Fix to not set "encrypt" or "decrypt" if command doesn't allow it. Updated documentation.
|
2020-11-30 12:00:54 -08:00 |
David Garske
|
dbd8e41b47
|
Refactor of the session authentication. Added "-e" option to some examples to enable parameter encryption and removed the _paramenc.c files. Fixup for the `getPrimaryStoragekey` to allow persisting if not `WOLFTPM_WINAPI`. Improve command line options. Added calculation of command hash and HMAC for sessions.
|
2020-11-20 16:47:14 -08:00 |
David Garske
|
b48f53f5e7
|
Improvements to the example tls_server to accept "RSA" or "ECC". Improvement to TLS examples to old load keys/certs that are needed (reduces max handle load count). Added missing `scripts/tls_setup.sh` to automake.
|
2020-11-13 16:33:14 -08:00 |
Elms
|
0bff836fa2
|
examples: Cleanup TLS examples using keyblob
|
2020-11-13 11:31:01 -08:00 |
Dimitar Tomov
|
1a24bab50f
|
Minor fixes for keyload usage, examples README and whitespaces
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-11-12 16:18:03 +02:00 |
David Garske
|
961710de63
|
Added support for importing external private key to get a key blob for easy re-loading.
|
2020-11-02 14:23:47 -08:00 |
David Garske
|
21daf5a21c
|
Key generation and loading examples using disk to store the key. Leverage wolfSSL filesystem abstraction.
|
2020-10-26 15:49:51 -07:00 |
David Garske
|
5ec8c5d0e1
|
Fix for building without wolfCrypt. Minor cleanups.
|
2020-09-30 15:14:46 -07:00 |
Dimitar Tomov
|
e75a36b82c
|
Update the README files
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-10-01 00:36:25 +03:00 |
Dimitar Tomov
|
69f01efb19
|
Cleanups based on peer review
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-09-03 19:49:31 +03:00 |
David Garske
|
ebfbd4dd2d
|
Moved the new clock_set example into the existing timestamp examples directory. Minor cleanups and fix for printf warning.
|
2020-09-02 11:46:12 -07:00 |
Dimitar Tomov
|
4ece9900cb
|
Add optional argument for the TPM clock example. Update examples README
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-09-02 11:46:12 -07:00 |
David Garske
|
b78e93f9ca
|
Documentation and code cleanups. Enhanced pcr/quote example to use the existing SRK. Added "-?" help usage on PCR examples. Switched to atoi. Fixed .am issue in TLS example cause make dist to break. Added include of new files for make dist.
|
2020-07-23 09:46:06 -07:00 |
Dimitar Tomov
|
be3f9b7385
|
Cleanups based on peer review. Updated gitignore.
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-07-22 00:17:50 +03:00 |
Dimitar Tomov
|
3f9ebe79c6
|
Quick fixes of markdown headings in the examples README.md
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-07-17 18:16:15 +03:00 |
Dimitar Tomov
|
c4339fbb5a
|
Add example of generating a TPM2.0 Quote using wolfTPM
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-07-16 17:09:46 +03:00 |
David Garske
|
bd7a01779a
|
Minor spelling fixes.
|
2020-05-27 08:24:35 -07:00 |
Dimitar Tomov
|
0e67453bc8
|
Add info about the new signed_timestamp example and attestation
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
|
2020-05-27 16:57:50 +03:00 |
David Garske
|
d8effc7c05
|
Fixes for various scan-build and G++ warnings. Updates to ChangeLog.md and README.md. Fix for `./certs/certreq.sh clean` to not remove wolf certs.
|
2019-02-20 15:13:01 -08:00 |
David Garske
|
bf67b3fd68
|
TLS client / server example improvements and cleanups. Adds support for using wolfSSL client/server examples with mutual auth certificate validation. Added new dummy key as to not conflict with wolfSSL test keys.
|
2019-02-01 13:26:55 -08:00 |
David Garske
|
b982d7a5fc
|
Enabled ECDH support by default and fixed build error with auth. Added build define `WOLFTPM2_USE_SW_ECDHE` for disabling TPM based ECDHE.
|
2018-11-20 07:20:14 -08:00 |
David Garske
|
037c3a2d59
|
Added ECDH support for ephemeral key generation and shared secret. Adds new wrapper API's `wolfTPM2_ECDHGenKey` and `wolfTPM2_ECDHGenZ`. Added crypto dev (TLS client/server) support for ECDH using TPM. Added ECDH tests in native and wrapper. Added experimental support for the 2-phase ephemeral key support with new wrapper API's `wolfTPM2_ECDHEGenKey` and `wolfTPM2_ECDHEGenZ`.
|
2018-11-16 13:27:22 -08:00 |
David Garske
|
f36cd4e349
|
Fixes for TLS server and client using RSA and ECC. Fixes for ECC sign cryptodev callback. Added an optional crypto dev callback for checking the key to determine if "fake" key is used. Added ability to use ECC permenant key for TLS examples using `USE_TLS_ECC`.
|
2018-11-14 09:51:06 -08:00 |
David Garske
|
380168c71d
|
Fix for crypto dev RSA sign verify, so it uses the TPM private key for the verification (instead of trying to load the public key).
|
2018-11-13 16:14:26 -08:00 |
David Garske
|
d8b2ea6309
|
Added TLS server example for wolfTPM. Added `examples/README.md`.
|
2018-11-13 15:45:39 -08:00 |