summaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2016-08-21 22:16:27 -0800
committerKent Overstreet <kent.overstreet@gmail.com>2016-08-21 22:16:27 -0800
commit932ece1567dfc4ea7d993c8f62ccc9adfcf736ef (patch)
tree0d32efd30f81a186f5bdfd5405a331e74c8a4cb9 /crypto.h
parentb0f08fc1e30daafb274181234dae3408fb2eb69b (diff)
master key nonce
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto.h b/crypto.h
index 335d63df..f4f7ff8e 100644
--- a/crypto.h
+++ b/crypto.h
@@ -17,7 +17,8 @@ static const struct nonce bch_master_key_nonce = BCACHE_MASTER_KEY_NONCE;
char *read_passphrase(const char *);
void derive_passphrase(struct bcache_key *, const char *);
-void disk_key_encrypt(struct bcache_disk_key *, struct bcache_key *);
+void disk_key_encrypt(struct cache_sb *sb, struct bcache_disk_key *,
+ struct bcache_key *);
void disk_key_init(struct bcache_disk_key *);
#endif /* _CRYPTO_H */