diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2016-05-03 16:46:55 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-05-04 11:34:09 -0700 |
commit | 8fc5916c7f66627be26203aa4f0d800a266b4b4b (patch) | |
tree | 546d75085c15269376b248f1e9b9f3c3c1f04e36 /firmware/bdb/host.h | |
parent | edc3c8e4409bd9bd5cccac8a2fe48ddd5927fa6a (diff) | |
download | vboot-firmware-gale-8281.B.tar.gz |
bdb: Rename subkey to datakeystabilize-8282.Bfirmware-gale-8281.B
This patch replaces subkey with datakey to make name use consistent
with the design document.
BUG=chrome-os-partner:51908
BRANCH=tot
TEST=make runtests
Change-Id: I3690abd51e6c18c5a1094a8449f375d803c7e0b2
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/342199
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/bdb/host.h')
-rw-r--r-- | firmware/bdb/host.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/firmware/bdb/host.h b/firmware/bdb/host.h index 9334680b..474d82d1 100644 --- a/firmware/bdb/host.h +++ b/firmware/bdb/host.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015 The Chromium OS Authors. All rights reserved. +/* Copyright 2015 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * @@ -30,17 +30,17 @@ bdb_verify(buf, size, bdb_key_hash, dev_mode_flag); If dev_mode_flag(), mismatch is not fatal bdb_check_sig() on BDB header sig - bdb_sha256() on OEM area 1, RW subkey + bdb_sha256() on OEM area 1, RW datakey bdb_rsa_verify() on digest using BDB key - bdb_check_key() on RW subkey + bdb_check_key() on RW datakey bdb_check_data() on RW data bdb_check_sig() on data sig bdb_sha256() on data, OEM area 1, hashes - bdb_rsa_verify() on digest using RW subkey + bdb_rsa_verify() on digest using RW datakey -Check RW subkey version. If normal boot from primary BDB, roll forward +Check RW datakey version. If normal boot from primary BDB, roll forward Check data version. If normal boot from primary BDB, roll forward */ @@ -135,13 +135,13 @@ struct bdb_create_params uint8_t *oem_area_1; uint32_t oem_area_1_size; - /* Public BDB key and subkey */ + /* Public BDB key and datakey */ struct bdb_key *bdbkey; - struct bdb_key *subkey; + struct bdb_key *datakey; - /* Private BDB key and subkey */ + /* Private BDB key and datakey */ struct rsa_st *private_bdbkey; - struct rsa_st *private_subkey; + struct rsa_st *private_datakey; /* Descriptions for header and data signatures */ char *header_sig_description; |