diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-01 01:45:15 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-03-09 09:14:11 -0900 |
commit | a17f7bcec7ed810a247c24e56229af8f43a9a6ae (patch) | |
tree | 1b2d60b21661bd2991324e3efaa83b3cdd87a783 /crypto.h | |
parent | 171ee48e57be78f4e95954c99851553fa523bf91 (diff) |
cmd_migrate
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 *); |