diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-11-13 08:28:50 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-12-01 20:30:46 +0000 |
commit | 902a07b5c8efa59e03e57b3c45f17fc1d17e3125 (patch) | |
tree | 74d3759bcc147a49ecefbc51e566860ecc1f4ac6 /include/rsa.h | |
parent | b41a0632db0abd010331b507cba4b472dd8e2fd8 (diff) | |
download | chrome-ec-902a07b5c8efa59e03e57b3c45f17fc1d17e3125.tar.gz |
Add RW firmware signature verification for common runtime
For accessories without software-sync mechanism, add the option to do a
RSA-based signature verification of the Read-Write firmware.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=samus
BUG=chrome-os-partner:31192
TEST=enable the configuration on Fruitpie and see the RW firmware
validated and jump to. Tried with good and bad RW images.
Change-Id: I3c886c2cbe17ca9543e19bf8599061c3f9751d4f
Reviewed-on: https://chromium-review.googlesource.com/229594
Reviewed-by: Todd Broch <tbroch@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
Tested-by: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'include/rsa.h')
-rw-r--r-- | include/rsa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rsa.h b/include/rsa.h index dbf00fa13f..9013e308a9 100644 --- a/include/rsa.h +++ b/include/rsa.h @@ -49,6 +49,8 @@ int rsa_verify(const struct rsa_public_key *key, const uint8_t *sha, uint32_t *workbuf32); +void check_rw_signature(void); + #endif /* !__ASSEMBLER__ */ #endif /* _INCLUDE_RSA_H */ |