Files
OpenCellular/firmware/bdb
Daisuke Nojiri dc96c6c018 bdb: Add bdb_get_hash_by_index
bdb_get_hash_by_index returns a hash entry from a BDB using an index.
bdb_get_hash is also renamed to bdb_get_hash_by_type. bdb_get_hash
is deprecated. Callers are expected to call bdb_get_hash_by_index(buf, 0)
instead.

BUG=none
BRANCH=none
TEST=make runtests

Change-Id: Id99926123c0ac9094574eb057c63f79eceda2867
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/392947
Reviewed-by: Randall Spangler <rspangler@chromium.org>
2016-10-11 10:56:54 -07:00
..
2016-05-04 11:34:09 -07:00
2016-10-11 10:56:54 -07:00
2016-10-11 10:56:54 -07:00
2016-10-04 21:19:09 -07:00
2016-10-04 21:19:09 -07:00
2016-05-07 03:32:47 -07:00
2016-10-01 00:01:10 -07:00
2016-07-11 14:43:59 -07:00
2016-10-04 00:33:20 -07:00
2016-10-01 00:01:13 -07:00
2016-06-22 20:01:58 -07:00
2016-05-07 03:32:46 -07:00

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.