mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 18:25:10 +00:00
vboot: Disambiguate vb2.1 structs and functions
Futility needs to link against both vboot1/vboot2.0 and vboot2.1 functions. This was easy in the past because it did (vboot1 + vboot2.1) and there's no overlap. In replacing vboot1 function calls and structs with vboot2.0, now there are symbol collisions between vboot2.0 and vboot2.1. For example, both of them use a struct called vb2_signature, but the structs are defined differently. Functions which operate on those structs also overload. Rename the vb2.1 structs to start with vb21_ instead of vb2_. Do the same for vb2.1 functions which operate on vb2.1 data. BUG=chromium:611535 BRANCH=none TEST=make runtests Change-Id: I24defd87cbd9ef64239faf1a8e98ab2372d27539 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/347458 Reviewed-by: Daisuke Nojiri <dnojiri@google.com>
This commit is contained in:
committed by
chrome-bot
parent
2afa87360d
commit
ca72512866
@@ -20,7 +20,7 @@ void PrintPrivKeySha1Sum(VbPrivateKey *key);
|
||||
|
||||
/*
|
||||
* Our packed RSBPublicKey buffer (historically in files ending with ".keyb",
|
||||
* but also the part of VbPublicKey and struct vb2_packed_key that is
|
||||
* but also the part of VbPublicKey and struct vb21_packed_key that is
|
||||
* referenced by .key_offset) has this binary format:
|
||||
*
|
||||
* struct {
|
||||
|
||||
Reference in New Issue
Block a user