Commit ef49735f authored by Alex Deymo's avatar Alex Deymo Committed by chrome-bot
Browse files

Parse Payload v2 header.

The update payload v2 contains an extra field in the header with the
size of the metadata signatures and the metadata signatures stored
right after the metadata. This patch parses the new payload format.

BUG=b:22024447
TEST=cros payload show payload-v2.bin; served a payload v2 with devserver.py

Change-Id: I8ce85af1df505f82f62a9d1cd57910cee6921f84
Reviewed-on: https://chromium-review.googlesource.com/306090


Commit-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: default avatarAlex Deymo <deymo@chromium.org>
Reviewed-by: default avatarGilad Arnold <garnold@chromium.org>
parent be5aa57d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment