diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-02-11 12:35:15 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2018-02-11 14:25:33 -0500 |
commit | 813862a47ca866082ca3002441df6c13b47f1b0d (patch) | |
tree | 958f71d7d77b3840ab70d25c54616141b32a69d6 /crypto.h | |
parent | b5e3302af7fd5e91ffab9567a6837a69398d5287 (diff) |
add -c to cmd_unlock, to check if a device needs to be unlocked
Diffstat (limited to 'crypto.h')
-rw-r--r-- | crypto.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -12,6 +12,7 @@ char *read_passphrase(const char *); char *read_passphrase_twice(const char *); struct bch_key derive_passphrase(struct bch_sb_field_crypt *, const char *); +bool bch2_sb_is_encrypted(struct bch_sb *); void bch2_passphrase_check(struct bch_sb *, const char *, struct bch_key *, struct bch_encrypted_key *); void bch2_add_key(struct bch_sb *, const char *); |