History log of /external/tpm2/Commit_fp.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0232bace9083911ff90c04b7d1ca39baedf61f81 18-Sep-2015 Vadim Bendebury <vbendeb@chromium.org> generator: re-generate source files

This patch is the result of running the code generation scripts from
the previous patch.

The main deviation from the code which existed earlier is the fact
that the TPM types are now generated (before they were manually copied
from an open source implementation).

TPM_Types.h had to be edited manually to exclude all copied stuff and
include the generated file (tmp_types.h).

The changes are minimal - out of the 223 generated files only a
handful differs, ans most of the changes are due to the actual
structure layout and set of supported algorithms changes.

BUG=chromium:501639
TEST=the only change is building the library standalone and as a part
of the cr50 image, both succeed.

Change-Id: I4ef87a08c2457524d7e22d53a58964056414174c
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/300663
/external/tpm2/Commit_fp.h
776e23689ddfb58cf6d6a111a3741a308e3fe60f 05-Sep-2015 Vadim Bendebury <vbendeb@chromium.org> generator: update generated files

The new versions of the files were generated after readability
improvements were added to the generator in the previous patch.

BUG=chromium:501639
TEST=the tree builds fine.

Change-Id: I158484f9843a83910c2bdbdcd76b8e683d1c72f9
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/297735
Reviewed-by: Utkarsh Sanghi <usanghi@chromium.org>
/external/tpm2/Commit_fp.h
a4ed3aa64664a1241ea982d685db744caaae3ffa 30-Jul-2015 Jocelyn Bohr <bohr@chromium.org> Implementation files for command marshaling.

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>
/external/tpm2/Commit_fp.h
f788ffb5e5b4493cb4c1deaa12a97c80c2694b01 05-Jun-2015 Vadim Bendebury <vbendeb@chromium.org> reformat added files

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>
/external/tpm2/Commit_fp.h
6bb41ffe12f3e2c646b149e385ca242f13aa6826 30-May-2015 Vadim Bendebury <vbendeb@chromium.org> Changes to allow compilation of Commit.c

BUG=none
TEST=compilation succeeds:
cc -Wall -Werror -c -o /dev/null Commit.c

Change-Id: I757914271b90e29e3f568e22432f38f76030418f
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/274094
Reviewed-by: Darren Krahn <dkrahn@chromium.org>
/external/tpm2/Commit_fp.h