summaryrefslogtreecommitdiff
path: root/crypto.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2017-03-01 01:45:15 -0900
committerKent Overstreet <kent.overstreet@gmail.com>2017-03-09 09:14:11 -0900
commita17f7bcec7ed810a247c24e56229af8f43a9a6ae (patch)
tree1b2d60b21661bd2991324e3efaa83b3cdd87a783 /crypto.h
parent171ee48e57be78f4e95954c99851553fa523bf91 (diff)
cmd_migrate
Diffstat (limited to 'crypto.h')
-rw-r--r--crypto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto.h b/crypto.h
index 643073eb..91a8b9fc 100644
--- a/crypto.h
+++ b/crypto.h
@@ -1,12 +1,16 @@
#ifndef _CRYPTO_H
#define _CRYPTO_H
-#include "super-io.h"
#include "tools-util.h"
+struct bch_sb;
+struct bch_sb_field_crypt;
+struct bch_key;
+
char *read_passphrase(const char *);
void derive_passphrase(struct bch_sb_field_crypt *,
struct bch_key *, const char *);
+void add_bcache_key(struct bch_sb *, const char *);
void bch_sb_crypt_init(struct bch_sb *sb, struct bch_sb_field_crypt *,
const char *);