aboutsummaryrefslogtreecommitdiff
path: root/Hash_fp.h
AgeCommit message (Collapse)Author
2015-08-10Implementation files for command marshaling.Jocelyn Bohr
Generated C source and header files which add functions to unmarshal command requests, execute commands, and marshal command responses. This (tenatively) adds all final missing parts of libtpm2. These files are generated from command_generator.py in CL:290556. TEST=$ sudo emerge tpm2 builds libtpm2.a Locally I was able to call ExecCommand to execute TPM2_Startup with success after software TPM initialization. BUG=chromium:501639 CQ-DEPEND=CL:290556 Change-Id: Ieb3f208795a21a172dea25b35027c5aceba7ee08 Reviewed-on: https://chromium-review.googlesource.com/289813 Tested-by: Jocelyn Bohr <bohr@chromium.org> Reviewed-by: Darren Krahn <dkrahn@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Commit-Queue: Jocelyn Bohr <bohr@chromium.org>
2015-06-06reformat added filesVadim Bendebury
This patch is the result of running the following script inside chroot: $ for f in $(git diff bfc1e79 | grep -A1 '^\-\-\- /dev/null' | \ grep '^\+\+' awk -F/ '{print $2}'); do # for all added files rm -f /tmp/clf.h # remove the placeholder file mcomms $f > /tmp/clf.h # a hepler script putting multiline comments in one line rm -f $f clang-format --style=Google /tmp/clf.h > $f done BUG=none TEST=verified that make still succeeds and that $ objdump -d build/tpm2lib | md5sum returns the same value before and after this patch Change-Id: I7e2dca6a1fdd1d77b1c77f3b6cdd3433556d9c1d Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/275681 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
2015-06-03Changes to allow compilation of Hash.cVadim Bendebury
BUG=none TEST=compilation succeeds: cc -Wall -Werror -c -o /dev/null Hash.c Change-Id: I25850c53bf79343740e15df8aa824ae22edb065d Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/274193 Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>