David Garske
a10a10db5d
Added v3.0 release notes and updated version.
2023-10-30 12:02:28 -07:00
David Garske
862617c07b
Update the TODO list in the README.
2023-10-23 14:04:44 -07:00
David Garske
b58ac14e64
Sanitize the IO TX/RX buffers (make sure they are zero initialized).
2023-08-07 11:08:02 -07:00
Marco Oliverio
f8c1ff6075
tis: support memory mapped tpm
2023-05-30 16:58:46 +00:00
David Garske
f2a95f3902
Fix for Microchip Harmony build settings. Rename to `WOLFTPM_MICROCHIP_HARMONY`. Avoids confusion with the TPM 2.0 module ATTPM from Microchip. Now enabled with `WOLFTPM_MICROCHIP` and provides backwards compatibility for `WOLFTPM_MCHP`. The new `WOLFTPM_MICROCHIP` has not been released (was added in PR #251 ).
2023-02-03 10:49:29 -08:00
David Garske
c05bf659c2
Fix broken paths with HAL refactor. Update TLS examples to use latest TLS version (allowing downgrade).
2023-01-20 08:29:53 -08:00
David Garske
1ea4a591a8
HAL refactor and documentation improvements. Move example HAL implementations into new `hal` directory. Include the example HAL in the library when building. Updated HAL IO documentation.
2023-01-18 12:38:04 -08:00
David Garske
e93acab27d
Update README.md with platforms supported.
2022-12-21 16:27:05 -08:00
Eric Blankenhorn
baae8ee523
Merge pull request #214 from dgarske/slb9672
...
Infineon SLB9672 support
2022-07-01 11:24:23 -05:00
David Garske
f0c2f02a20
Peer review cleanups.
2022-06-29 14:40:39 -07:00
David Garske
534e89cd7e
Added SLB9672 benchmarks.
2022-06-29 10:31:56 -07:00
David Garske
b41a14689f
Add create primary key example. Add support for using a unique template with create and create primary.
2022-06-28 16:40:46 -07:00
David Garske
a22277a07d
Infineon SLB9672 support.
2022-06-28 16:07:30 -07:00
David Garske
9cb60b14ad
Improve the inline code comments for loading the public key using the `wolfSSL_CTX_use_PrivateKey_buffer` API.
2022-06-27 10:29:38 -07:00
David Garske
c7b28c1445
TPM support for using the public key with TLS.
2022-06-24 16:21:47 -07:00
Elms
fd1474c68b
cmake: Add to readme and fix native test
2022-04-07 10:55:15 -07:00
Elms
65de877a10
README: refine qemu instructions
2021-03-17 11:46:40 -07:00
Elms
2075d987ce
README: Add swtpm build instructions and links
...
QEMU uses swtpm over unix socket, but it is currently not packaged so
is built from source.
2021-03-17 11:46:40 -07:00
Elms
230e21bbcc
README: Add use of devtpm and QEMU
...
Add description on how to use swtpm with qemu to build and run and
test with wolfTPM within QEMU.
2021-03-17 11:46:40 -07:00
Dimitar Tomov
53563acd6a
Update the wolfTPM and examples README.md files
...
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2021-03-12 15:10:58 -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
5abeea75a9
Added object names to the command hash calculation (cpHash). Added HMAC key creation. Fixed outstanding TODO items.
2020-11-23 14:54:39 -08:00
Dimitar Tomov
24a49de385
Added AES CFB parameter support, salted TPM session, fixed KDFa and examples
...
* Added key generation example with parameter encryption
* Fixes and cleanups for KDFa
* Added KDFa unit test (passes)
* Added AES CFB support
* Fix for nonceTPM
* Added support for encrypted RSA salt and salted-unbounded session
* Removed unsalted-unbounded specific code for authValueKDF from KDFa
* Add innerWrap support
* Add missing wolfcrypt header for AES CFB
* Fixes for casting when calling KDFa for AES CFB parameter encryption
* Add outerWrap support
Signed-off-by: Dimitar Tomov <dimi@wolfssl.com>
2020-11-19 15:08:30 +02:00
Elms
6bb14c20b6
winapi: Add readme
2020-10-13 12:04:07 -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
Elms
1c4e17a57f
cleanup: Documentation, formatting, spelling
2020-09-24 15:25:35 -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
David Garske
6d46b26bde
Added dynamic module detection at run-time when using internal TIS.
2020-07-13 09:55:36 -07:00
David Garske
30f2e644aa
Added NPCT75x Nuvoton support.
2020-07-13 09:54:00 -07:00
David Garske
3de776b9e4
TPM RSA sign and verify wrapper support and expanded RSA key loading support:
...
* Added RSA support for `wolfTPM2_SignHash` and `wolfTPM2_VerifyHash`.
* Added `wolfTPM2_SignHashScheme` and `wolfTPM2_VerifyHashScheme` support for signature scheme and hash algo.
* Added `wolfTPM2_LoadRsaPrivateKey_ex` and `wolfTPM2_LoadRsaPublicKey_ex` support for signature scheme and hash algo.
* Fix for typo on hashAlg and sigAlg (per spec).
* Added RSA sign/verify examples for PKCSv1.5 (SSA) and PSS padding schemes.
* Fixes for building without ECC key import/export.
2020-06-18 14:35:59 -07:00
Dimitar Tomov
d5c426742c
Add TPM benchmarking results for Nuvoton NPCT650 TPM2.0 module
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-04 20:21:09 +03:00
David Garske
6bd412df09
wolfTPM v1.8 release preparation.
2020-04-29 08:56:57 -07:00
Dimitar Tomov
5c07af752d
The new TPM interface fulfilled a task from the TODO list in README.md
...
The added support for Linux TPM device (/dev/tpmX) fulfills
the task for adding `spi_tis_dev` support for Raspberry Pi.
This is also confirmed by testing on RPI4 using /dev/tpm0
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-04-29 05:12:57 +03:00
David Garske
1637ace584
Spelling Nuvoton
2020-04-28 15:55:04 -07:00
Dimitar Tomov
228999833b
Updated README.md with details about the new TPM interface and Nuveton chip
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-04-28 15:44:45 -07:00
David Garske
675c5c7902
Info for Nations Technologies Inc TPM 2.0 module.
2020-02-14 09:14:25 -08:00
David Garske
2beeb4b4ac
Added `--enable-smallstack` build options for reducing stack usage.
2019-07-26 12:36:50 -07:00
David Garske
01f5dc856c
Added new API `wolfTPM2_Test` for testing for TPM and optionally returning capabilties. This API is useful for providing a "single shot" call without context to init and test the TPM module.
2019-05-06 13:54:44 -07: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
31c0629ed7
wolfTPM Release v1.5 preparation. Moved the release notes to `ChangeLog.md`.
2019-02-20 14:22:55 -08:00
David Garske
19bfc49d4e
Fix for polling timeout issue on RSA key gen. Improved performance for SLB9670 by adding 10us delay between polling. Tuned max SPI clock and performance for supported TPM 2.0 chips. Cleanups for the configure automake output. Updated benchmarks and console output for examples in README.md. Added self test wrapper and call to it in wrapper init to resolve ATTPM20 issue (can also be enabled using `WOLFTPM_PERFORM_SELFTEST`).
2019-02-08 17:29:34 -08:00
David Garske
8085793168
Added wrapper to load symmetric key. Finished code for Crypto callback AES.
2019-02-01 13:27:52 -08:00
David Garske
0889c842b1
Fixed TLS client send size and signed mismatch warning. Fixed TLS server read size printf. Removed wolf init/cleanup as they are done in TPM2_Init/TPM2_Cleanup. Updated README.md.
2019-02-01 13:27:15 -08:00
David Garske
70b354677e
Implemented workaround for TPM2_EncryptDecrypt. Improved ATTPM20 workarounds for backwards compatibility. Added README.md notes for ATTPM20.
2019-02-01 11:01:40 -08:00
David Garske
7b3b8a52a2
Fix for block rounding on symmetric Encrypt/Decrypt. Updated benchmkark numbers.
2019-01-03 14:44:51 -08:00
David Garske
67739b119e
Updated README.md with new benchmarks.
2019-01-02 09:34:07 -08:00
David Garske
66e845c209
Added new `wolfTPM2_GetCapabilities` wrapper API for getting chip info.
2018-11-20 06:27:23 -08:00
David Garske
bcbbf8ed39
Prep for wolfTPM v1.4 release. Fixes for scan-build and valgrind reports. Updates to README.md.
2018-11-16 13:01:08 -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