Elms
a787dab931
Fix tests and wrapper example with no wolfcrypt
2022-05-06 21:43:15 -07:00
David Garske
d035cd239c
Fix for a few spelling errors. Whitespace cleanup.
2021-12-07 11:10:50 -08:00
David Garske
2b8cfb8692
wolfTPM Release v2.1.0 preparation.
...
* Updated copyright
* Fixed minor cast warning.
* Fixed minor scan-build warnings.
* Cleanup print public and fix possible print of uninitialized field.
2021-03-17 10:13:50 -07:00
Elms
ba75a0b438
tests: Pass test with ibmswtpm2
...
RC handle number modifier is added to response code.
2021-03-04 15:24:59 -08:00
Elms
52f3972d3f
test: flush before abort to get errors to log
2021-03-04 11:10:44 -08:00
Elms
e0d4aba037
Prevent potential buffer overrun in KDFa
...
found by running `CFLAGS="-fsanitize=address" ./configure
--enable-swtpm` and and running `./scripts/swtpm_sim.test`
2021-03-04 11:10:28 -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
3a1ef5a0a4
Add winapi for Windows TBS support (with minGW build)
...
TESTED:
`./configure --host=i686 CC=i686-w64-mingw32-gcc CFLAGS="-DWIN32 \
-DMINGW -D_WIN32_WINNT=0x0600" LIBS="-lws2_32 -ltbs" \
--enable-winapi`
2020-10-07 13:22:19 -07:00
Elms
9617dab37e
swtpm: Rename SOCKET option to SWTPM
2020-09-24 08:37:06 -07:00
Elms
63736417b2
Add socket connection option for using with TPM2 simulator
...
This is largely based on and tested against http://ibmswtpm.sourceforge.net/
2020-09-23 10:39:38 -07:00
Dimitar Tomov
816272bf6a
Update unit testing for wolfTPM2_Init to reflect Linux TIS driver support
...
Signed-off-by: Dimitar Tomov <dimi@designfirst.ee>
2020-05-13 15:51:37 +03:00
Chris Conlon
91ef0b0e6e
update copyright to 2020
2020-01-03 15:31:27 -08:00
David Garske
c3bc039876
Fix for building unit tests with `./configure --disable-wolfcrypt`. Missing stdlib.
2019-08-02 06:48:12 -07:00
David Garske
6ee1cee883
Added more API unit tests. Cleanup of the argument checking return codes.
2019-07-23 14:43:40 -07:00
David Garske
c6e45dc580
Added new wrapper API `wolfTPM2_OpenExisting` for accessing device that's already started. Added unit test framework.
2019-07-23 14:43:40 -07:00