Mike Frysinger 8df7ed1453 expand the BDB acronym in a few key places 8 rokov pred
..
LICENSE ef4ae8953c bdb: Copy files from bdb to firmware/bdb 8 rokov pred
README 8df7ed1453 expand the BDB acronym in a few key places 8 rokov pred
bdb.c dc96c6c018 bdb: Add bdb_get_hash_by_index 8 rokov pred
bdb.h dc96c6c018 bdb: Add bdb_get_hash_by_index 8 rokov pred
bdb_api.h 626e0b034d bdb: Add secret deriving code for SP-RO 8 rokov pred
bdb_flag.h 626e0b034d bdb: Add secret deriving code for SP-RO 8 rokov pred
bdb_struct.h 8fc5916c7f bdb: Rename subkey to datakey 8 rokov pred
dump_rsa.c ef4ae8953c bdb: Copy files from bdb to firmware/bdb 8 rokov pred
ecdsa.c ef4ae8953c bdb: Copy files from bdb to firmware/bdb 8 rokov pred
host.c 9928e2ffc2 bdb: Add 'bdb --resign' to futility 8 rokov pred
host.h 9928e2ffc2 bdb: Add 'bdb --resign' to futility 8 rokov pred
misc.c 85dbb34420 bdb: Add vba_bdb_init 8 rokov pred
nvm.c 626e0b034d bdb: Add secret deriving code for SP-RO 8 rokov pred
nvm.h d5820a79fc bdb: Add nvmrw_get and nvmrw_set 8 rokov pred
rsa.c 351bc294ed bdb: Add 'bdb --add' to futility 8 rokov pred
secrets.c 626e0b034d bdb: Add secret deriving code for SP-RO 8 rokov pred
secrets.h 626e0b034d bdb: Add secret deriving code for SP-RO 8 rokov pred
sha.c 8130e50341 bdb: Add bdb_extend 8 rokov pred
stub.c 7931177cc3 bdb: Add vba_update_buc 8 rokov pred
vboot_register.h 8917b808ce bdb: Add vboot_register.h 8 rokov pred

README

Boot Descriptor Block (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.