Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
tpm2-tss
/
a6085c941fc8f1c0aceddde5d0673a9e029584f9
/
test
a6085c9
Move CheckOverflow.c from sapi_util to common.
by Philip Tricca
· 8 years ago
935972e
Replace UINT32 marshaling with functions from libmarshal.
by Philip Tricca
· 8 years ago
819af36
Replace UINT16 marshaling with functions from libmarshal.
by Philip Tricca
· 8 years ago
b33eb35
marshal: Add functions to marshal UINT64s with unit test.
by Philip Tricca
· 8 years ago
bff7212
marshal: Add functions for UINT32 and unit tests.
by Philip Tricca
· 8 years ago
689c090
marshal: Add marshalling functions for UINT16 with unit test.
by Philip Tricca
· 8 years ago
7360972
marshal: Add infrastructure to build libmarshal & (un)?marshal for UINT8.
by Philip Tricca
· 8 years ago
56fec89
cleanup: Convert 'cpp' files to 'c'.
by Philip Tricca
· 8 years ago
3a36b66
cleanup: Remove usage of _WIN32 macro.
by Philip Tricca
· 8 years ago
328ae1b
test: Add integration test for asymmetric encrypt and decrypt use case.
by hp
· 8 years ago
b4bebc7
test: Add integration test for PCR Read and Extend Remove PCR Extension test from tpmtest.
by hp
· 8 years ago
ab961cb
test: Add integration test for SelfTest.
by hp
· 8 years ago
43ac71d
test: Add integration test for GetRandom.
by hp
· 8 years ago
e72f257
test: Add integration test "framework".
by Philip Tricca
· 8 years ago
e08bdb9
Move unit tests from test/ to test/unit/ and remove the '_unit' suffix.
by Philip Tricca
· 8 years ago
467d63b
libtcti-device: Add unit test with all NULL params to the init function.
by Philip Tricca
· 8 years ago
ef94573
libtcti-device: Add test to ensure the init function rejects a NULL config struct.
by Philip Tricca
· 8 years ago
e8cc47f
libtcti-device: Remove unnecessary indirection in log callback test.
by Philip Tricca
· 8 years ago
8fb6a62
libtcti-device: Remove unnecessary indirection in log unit test.
by Philip Tricca
· 8 years ago
ae884f5
libtcti-device: Simplify the context size discovery unit test.
by Philip Tricca
· 8 years ago
cd60952
libtcti-device: Normalize the naming for unit test file.
by Philip Tricca
· 8 years ago
a7d2e2c
libtcti-device: Consolidate unit test into a single file.
by Philip Tricca
· 8 years ago
75c5ef8
CheckOverflow: Move sanity checks for context state from (un)?marshall functions to checkoverflow.c
by Philip Tricca
· 8 years ago
8087067
Use assert_int_equal instead of assert_return_code in unit tests.
by Philip Tricca
· 8 years ago
a23a282
Remove Windows build files.
by Philip Tricca
· 8 years ago
40e926d
tcti_socket: Move simulator initialization code into the context init function.
by Philip Tricca
· 8 years ago
430cda2
test: Add unit tests for marshalling and unmarshalling a simple TPM2B structure.
by Philip Tricca
· 8 years ago
f2f595d
test: Add test case for Unmarshal-UINT32.
by Philip Tricca
· 8 years ago
0038a17
test: Add unit test for Unmarshal_UINT16.
by Philip Tricca
· 8 years ago
dae20ee
Fix window build for resourcemgr & tpmclient
by Gang Wei
· 8 years ago
1008bf5
Add unit test for CheckOverflow function.
by Philip Tricca
· 8 years ago
80d81bd
Add a unit test for the marshal_UINT32 function.
by Philip Tricca
· 8 years ago
4be0534
tpmclient: Remove unused data.
by Philip Tricca
· 8 years ago
f1811f0
Add unit test for marshal-UINT16 function.
by Philip Tricca
· 8 years ago
7571507
tcti_util: Move all utility functions for the TCTIs into a common file.
by Philip Tricca
· 8 years ago
bd9e986
tcti_device_util: Cleanup the TeardownDeviceTcti function.
by Philip Tricca
· 8 years ago
755d9ec
tcti_socket: Stop freeing caller allocated data in finalize function.
by Philip Tricca
· 8 years ago
81223f4
Add unit test for the CopyCommandHeader function.
by Philip Tricca
· 8 years ago
364c0ce
Add unit test for GetNumHandles, check for valid and invalid TPM_CC values.
by Philip Tricca
· 8 years ago
90363cd
Add tests to ensure CommonPreparePrologue rejects TSS2_SYS_CONTEXTs with bad previousStage member.
by Philip Tricca
· 8 years ago
6f634c4
Add a single unit test to trigger the NULL deref bug in CommonPreparePrologue
by Philip Tricca
· 8 years ago
642993f
tpmtest: update CBC mode to CFB too
by Gang Wei
· 8 years ago
dfa41a5
Remove all trailing whitespace.
by Philip Tricca
· 8 years ago
4c1b4a0
getcommands: Move to resourcemgr/, remove use of SAPI_CLIENT macro, fix error code
by Philip Tricca
· 8 years ago
ffab88a
tpmtest: fix a TPM2B initialization issue in test 34
by Gang Wei
· 8 years ago
835d305
tpmtest: disable 2 cases for nonNULL platform auth
by Gang Wei
· 8 years ago
3d3fe5c
tpmtest: replace all ECB mode with CFB
by Gang Wei
· 8 years ago
e03b846
Fixup bugs introduced by 3b7e71220c9 by fixing up include directives to use sapi/ instead of tss2/
by Philip Tricca
· 8 years ago
cc57502
Merge pull request #210 from hteh/master
by Gang(Jimmy) Wei
· 8 years ago
20cac4e
added in 6 use case tests & 1 functional test
by hp
· 8 years ago
1c82759
Got debug messages working in RM.
by wcarthur
· 8 years ago
5dc6916
tpmclient: Initialize a few variables explicitly.
by Philip Tricca
· 8 years ago
33eacd1
test: Remove unused state variable.
by Philip Tricca
· 8 years ago
1225a1b
tpmtest & tpmclient: fix more TPM2B initialization
by Gang Wei
· 8 years ago
c171cc2
update sample code to use INIT_SIMPLE_TPM2B_SIZE()
by Gang Wei
· 8 years ago
2dc284c
tpmtest: use INIT_SIMPLE_TPM2B_SIZE to init TPM2B
by Gang Wei
· 8 years ago
b093b5f
tpmtest: fix one more place needing initializing TPM2B size
by Gang Wei
· 9 years ago
4eb2f35
tcti: Add buffer debug callback.
by Philip Tricca
· 9 years ago
bcc7303
tcti_socket: Replace global function pointer to debug print function.
by Philip Tricca
· 9 years ago
210b770
Fixed uninitialized size fields in output simple TPM2B structures.
by wcarthur
· 9 years ago
aee953e
Fixed compiler warnings related to unused variables that are being turned into errors.
by wcarthur1
· 9 years ago
098f8c0
Added support for properly calculating cpHash for commands that have no handles.
by wcarthur
· 9 years ago
bbf2203
tpmclient: Add debug callback to device TCTI config.
by Philip Tricca
· 9 years ago
decc21c
Remove debug data from TCTI function signature.
by Philip Tricca
· 9 years ago
faac11f
tcti_device_test: Remove MAGIC and VERSION from Init call.
by Philip Tricca
· 9 years ago
e2761a4
Fixed bug when running against IBM simulator. Need to check for
by wcarthur1
· 9 years ago
08ad945
Fixed instances of 0x80006 errors (insufficient buffer) when running
by wcarthur1
· 9 years ago
7ddc98e
Enable connection specific creation and shutdown of sessions (this is preparation for getcap tests).
by wcarthur
· 9 years ago
39d58fa
Revert "Enable connection specific creation and shutdown of sessions (this is"
by Philip Tricca
· 9 years ago
6b104cd
Merge pull request #164 from flihp/remove_magic_version
by wcarthur1
· 9 years ago
3aa33ac
Enable connection specific creation and shutdown of sessions (this is
by wcarthur
· 9 years ago
abb4b09
Fixed StartAuthSessionWithParams: when StartAuthSession fails,
by wcarthur
· 9 years ago
ee69aba
Fixed bug in TestRM (uninitialized sizes for TPM2B's passed to CreatePrimaryComplete).
by wcarthur
· 9 years ago
7484053
tcti: Remove magic & version parameters from the Init functions.
by Philip Tricca
· 9 years ago
25c513e
Merge pull request #151 from flihp/tcti_device_printf
by wcarthur1
· 9 years ago
a870758
Fixed bad comment.
by wcarthur
· 9 years ago
0d292d1
Fixed bugs in AddSession and DeleteSession (these never worked right to
by wcarthur
· 9 years ago
09a5bcd
test: Add test cases to test TCTI logging mechanism in device TCTI.
by Philip Tricca
· 9 years ago
3b3881d
Merge pull request #159 from flihp/tcti_device_common
by wcarthur1
· 9 years ago
28eec1a
Added test banner to TestLocalTcti function.
by wcarthur
· 9 years ago
35aa539
Bug fix (no return value for SAPI and TCTI finalize function).
by wcarthur
· 9 years ago
43c1671
tcti_device: Move convenience functions to common directory.
by Philip Tricca
· 9 years ago
591f64f
Merge pull request #147 from wcarthur1/fixEncryptParam
by wcarthur1
· 9 years ago
1917e1d
Fixed test: missed this on first commit.
by wcarthur
· 9 years ago
33eb0d0
Merge pull request #142 from flihp/cmocka
by wcarthur1
· 9 years ago
6960f1b
debug: Remove global variable rmDebugPrefix.
by Philip Tricca
· 9 years ago
b194be9
test: Integrate cmocka into autotools build, add basic test case for device TCTI.
by Philip Tricca
· 9 years ago
5a20994
debug: Turn printf_types enumeration into a type ... and then use it.
by Philip Tricca
· 9 years ago
b33221d
debug: Consolidate debug printf functions into the debug code.
by Philip Tricca
· 9 years ago
98b285a
sockets: Move common socket code to separate module.
by Philip Tricca
· 9 years ago
9b45798
debug: Rmove the SHARED_OUT_FILE.
by Philip Tricca
· 9 years ago
2c1f02c
TeardownDeviceTctiContext: Remove duplicate function.
by Philip Tricca
· 9 years ago
3f7201d
tcti_device: Remove configuration string in favor of structure.
by Philip Tricca
· 9 years ago
6feb976
InitSocketTcti: Remove configuration string in favor of structure.
by Philip Tricca
· 9 years ago
78180e1
TCTIs: Get rid of the TSS2_TCTI_DRIVER_INFO struct.
by Philip Tricca
· 9 years ago
fbf818c
tpmtest: add a missed size initialization
by Gang Wei
· 9 years ago
c75dd1d
tpmtest: treat IBM software TPM as simulator
by Gang Wei
· 9 years ago
d1bbedb
tcti_socket: Fixup function names to match new module name.
by Philip Tricca
· 9 years ago
0dca4f1
tcti_device: Fixup function names to match new module name.
by Philip Tricca
· 9 years ago
bb21d22
winbuild: Fixup resourcemgr and tpmclient build.
by Philip Tricca
· 9 years ago
Next »