aboutsummaryrefslogtreecommitdiff
path: root/InternalRoutines.h
AgeCommit message (Collapse)Author
2015-07-27Changes to allow for libtpm2 compilation with marshaling code.ChromeOS Developer
- New files tpm_generated.c and tpm_generated.h files add functions to marshal and unmarshal TPM structures. - New file marshal_test.c contains unit tests for tpm_generated.c. - Added missing types to TPM_Types.h and renamed structure fields to match the spec. - Made changes to scraped *.c files to match renaming changes made to TPM_Types.h. - Added tpm_generated.c to Makefile. TEST=$ sudo emerge tpm2 builds libtpm2 with tpm_generated.c $ gcc marshal_test.c -ltpm2 -lssl -lcrypto marshal-test builds test exutable $ ./marshal-test passes all test cases BUG=chromium:501639 Change-Id: Iea20a9d77f236bb5aee55a8b86dc39b58e340912 Reviewed-on: https://chromium-review.googlesource.com/282042 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org> Commit-Queue: Jocelyn Bohr <bohr@chromium.org> Tested-by: Jocelyn Bohr <bohr@chromium.org>
2015-05-20Initial commit to seed TPM2.0 source code directoryVadim Bendebury
LICENSE file text copied from TCG library specification. README describes the procedure used to extract source code from parts 3 and 4 of the specification. The python scripts and part{34}.txt files will be removed in the following commits. Change-Id: Ie281e6e988481831f33483053455e8aff8f3f75f Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>