diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-08-21 16:57:06 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-25 20:10:55 +0000 |
commit | d9a614826b524c212b1ce449141a8af047178b38 (patch) | |
tree | 00e43f7828f374ad08f6aa6cd89619396e5abd49 /test/fan.tasklist | |
parent | b37514eed2873dcecc44619ea07542912aaf977b (diff) | |
download | chrome-ec-d9a614826b524c212b1ce449141a8af047178b38.tar.gz |
cr50: add code for the signer utility
This utility reads a binary file, verifies that the first 1024 bytes
of the file are set to zero and replaces this block with a header,
containing the signature and other information required by the recent
CR50 ROM.
A test private key is included, it matches the FPGA ROM public key.
The use convention is simple: two parameters are required, the private
key file name and the binary file name. The signed binary file is saved
in the file with extension ".signed".
BRANCH=none
BUG=chrome-os-partner:43025
TEST=the utility builds using
g++ -std=c++0x -I . -o signer codesigner.cc publickey.cc -lcrypto
ec.RO.flat signed with this utility can be successfully bootstrapped
a CR50 over SPS
Change-Id: I046b13d20f0dd8cff884e37ef966593e01dcb043
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/295208
Reviewed-by: Marius Schilder <mschilder@chromium.org>
Diffstat (limited to 'test/fan.tasklist')
0 files changed, 0 insertions, 0 deletions