diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2020-02-07 18:34:55 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-19 23:22:03 +0000 |
commit | 38f6e45971620382dd03d48a22120cef71db0179 (patch) | |
tree | 06dd4fcdd3a37b90476f635698a7ed6f36fcdceb /include | |
parent | 3ac621b0628074bf7d93856fcd33b42b205c7a27 (diff) | |
download | chrome-ec-38f6e45971620382dd03d48a22120cef71db0179.tar.gz |
utils: script for calculating Cr50 version fingerprint
This scrip copies the Chrome OS run time code which calculates Cr50
image hash, used as the UMA key to keep track of various TPM versions.
BRANCH=none
BUG=none
TEST=verified that generated fingerprint values match previously
generated values:
$ for b in /opt/google/cr50/firmware/*; do
gsctool -b $b
util/tpm_hash_gen.py $b
done
read 524288(0x80000) bytes from ...
RO_A:0.0.11 RW_A:0.4.24[FFFF:00000000:00000010]...
37564a12 928401938 /opt/google/cr50/firmware/cr50.bin.prepvt
read 524288(0x80000) bytes from ...
RO_A:0.0.11 RW_A:0.3.24[00000000:00000000:00000000]...
795daf5c 2036182876 /opt/google/cr50/firmware/cr50.bin.prod
$
Change-Id: Ie129227cea3c68937223c81c068612b044cd5c8b
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2051306
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions