Index: dm-bht.h |
diff --git a/dm-bht.h b/dm-bht.h |
index 25c20b51778f1ca4a1abc8016fab80c65552265b..a6528d30ee22e1891ccaf03f04650fbbd4d8ef83 100644 |
--- a/dm-bht.h |
+++ b/dm-bht.h |
@@ -83,14 +83,12 @@ typedef int(*dm_bht_callback)(void *, /* external context */ |
* TODO(wad): All hash storage memory is pre-allocated and freed once an |
* entire branch has been verified. |
*/ |
-enum verify_mode { DM_BHT_REVERIFY_LEAVES = 0, DM_BHT_FULL_REVERIFY }; |
struct dm_bht { |
/* Configured values */ |
/* ENFORCE: depth must be >= 2. */ |
unsigned int depth; /* Depth of the tree including the root */ |
unsigned int block_count; /* Number of blocks hashed */ |
char hash_alg[CRYPTO_MAX_ALG_NAME]; |
- int verify_mode; /* different verification modes */ |
unsigned int entry_readahead; /* number of entries to attempt to |
* pre-read in a level. |
*/ |
@@ -127,7 +125,6 @@ void dm_bht_set_entry_readahead(struct dm_bht *bht, |
unsigned int readahead_count); |
void dm_bht_set_read_cb(struct dm_bht *bht, dm_bht_callback read_cb); |
void dm_bht_set_write_cb(struct dm_bht *bht, dm_bht_callback write_cb); |
-void dm_bht_set_verify_mode(struct dm_bht *bht, int verify_mode); |
int dm_bht_set_root_hexdigest(struct dm_bht *bht, const u8 *hexdigest); |
int dm_bht_root_hexdigest(struct dm_bht *bht, u8 *hexdigest, int available); |