forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move tree hash verification details out of ContentHashReader
Upon initialising, ContentHashReader checks that block hashes from computed_hashes.json are correct by verifying them using tree hash from verified_contents.json. To keep under ContentHashReader only logic about using block hashes to check data, this commit moves verification of the hashes to ContentHash. Bug: 796395 Change-Id: Ia152559bac3c409c7651b6902948ef72d7744e3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1768348 Commit-Queue: Oleg Davydov <burunduk@chromium.org> Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/master@{#694165}
- Loading branch information
Showing
4 changed files
with
161 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters