mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-26 19:25:02 +00:00
vboot2: Get rid of extra '2' at end of new struct names
Now that lib20 and lib21 are distinct, they can have overlapping
struct names. This will be cleaner in the long run, since vboot 2.0
(lib20) is just a temporary stepping stone to vboot 2.1 (lib21). It
would be a shame to need to carry around the overhead of that extra
digit forever.
No functional changes, just a lot of renaming.
BUG=chromium:423882
BRANCH=none
TEST=make runtests && VBOOT2=1 make runtests (works with/withoug VBOOT2 flag)
And compile firmware for veyron_pinky
Change-Id: I25f348fd31e32d08ca576836dfdd1278828765a1
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/233183
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
6f1b82ac14
commit
308d254092
@@ -165,31 +165,19 @@ uint32_t vb2_sig_size(enum vb2_signature_algorithm sig_alg,
|
||||
*/
|
||||
const struct vb2_guid *vb2_hash_guid(enum vb2_hash_algorithm hash_alg);
|
||||
|
||||
/*
|
||||
* Size of work buffer sufficient for vb2_verify_digest() or
|
||||
* vb2_verify_digest2() worst case.
|
||||
*/
|
||||
/* Size of work buffer sufficient for vb2_verify_digest() worst case. */
|
||||
#define VB2_VERIFY_DIGEST_WORKBUF_BYTES VB2_VERIFY_RSA_DIGEST_WORKBUF_BYTES
|
||||
|
||||
/*
|
||||
* Size of work buffer sufficient for vb2_verify_data() or vb2_verify_data2()
|
||||
* worst case.
|
||||
*/
|
||||
/* Size of work buffer sufficient for vb2_verify_data() worst case. */
|
||||
#define VB2_VERIFY_DATA_WORKBUF_BYTES \
|
||||
(VB2_SHA512_DIGEST_SIZE + \
|
||||
VB2_MAX(VB2_VERIFY_DIGEST_WORKBUF_BYTES, \
|
||||
sizeof(struct vb2_digest_context)))
|
||||
|
||||
/*
|
||||
* Size of work buffer sufficient for vb2_verify_keyblock() or
|
||||
* vb2_verify_keyblock2() worst case.
|
||||
*/
|
||||
/* Size of work buffer sufficient for vb2_verify_keyblock() worst case. */
|
||||
#define VB2_KEY_BLOCK_VERIFY_WORKBUF_BYTES VB2_VERIFY_DATA_WORKBUF_BYTES
|
||||
|
||||
/*
|
||||
* Size of work buffer sufficient for vb2_verify_fw_preamble() or
|
||||
* vb2_verify_fw_preamble2() worst case.
|
||||
*/
|
||||
/* Size of work buffer sufficient for vb2_verify_fw_preamble() worst case. */
|
||||
#define VB2_VERIFY_FIRMWARE_PREAMBLE_WORKBUF_BYTES VB2_VERIFY_DATA_WORKBUF_BYTES
|
||||
|
||||
#endif /* VBOOT_REFERENCE_VBOOT_2COMMON_H_ */
|
||||
|
||||
Reference in New Issue
Block a user