Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Unified Diff: dm-bht.h

Issue 6695038: verity: do all hashing in dm-bht.c (Closed) Base URL: http://git.chromium.org/git/dm-verity.git@master
Patch Set: Fix per review. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dm-bht.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm-bht.h
diff --git a/dm-bht.h b/dm-bht.h
index 37c501de36511ecb7fd1cc20b88abdc1eee2510e..25c20b51778f1ca4a1abc8016fab80c65552265b 100644
--- a/dm-bht.h
+++ b/dm-bht.h
@@ -135,7 +135,7 @@ int dm_bht_root_hexdigest(struct dm_bht *bht, u8 *hexdigest, int available);
int dm_bht_populate(struct dm_bht *bht, void *read_cb_ctx,
unsigned int block_index);
int dm_bht_verify_block(struct dm_bht *bht, unsigned int block_index,
- u8 *digest, unsigned int digest_len);
+ const void *buf);
/* Functions for creating struct dm_bhts on disk. A newly created dm_bht
* should not be directly used for verification. (It should be repopulated.)
« no previous file with comments | « no previous file | dm-bht.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698