mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
This is a standalone library for verifying the BDB structures in the common boot flow document, and a bdb_create utility to create test BDB structures. Eventually, creating these structures will be rolled into futility. BUG=chrome-os-partner:48448 BRANCH=none TEST=cd bdb && make runtests Change-Id: Ic57c26ca84137205da3b6c7d532f5324c93b4285 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/317275 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
BDB library and utilities Building: --------- The host-side library and utilities requires OpenSSL. Do 'make runtests' to ensure everything is working. Generating a BDB: ----------------- Edit the options in bdb_create.c. Then 'make bdb'. In the next release, this will take a config file rather than requiring recompilation each time. Also, the BDB header and data will be signed in two separate steps, so that the private BDB key is not required each time. Revision History: ----------------- v0.1.2 24-Nov-2015 Add support for RSA-3072B keys and signatures. Add dump_rsa utility and 'make testkeys' to create new keys. Use a RSA-3072B (exponent 3) key for the subkey so the exponent 3 code gets tested. v0.1.1 17-Nov-2015 Add support for ECDSA-521 data types. Note that only the data types are supported; there is not a C implementation for ECDSA. v0.1.0 15-Sep-2015 Initial version.