]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - crypto.h
cmd_attr: check for errors from fdopendir()
[bcachefs-tools-debian] / crypto.h
index 7f523c057cbbf3c9ad6a0b8a57b16b2296d95c52..baea6d86e84a9f2005fb309afa7df59868c5ef06 100644 (file)
--- a/crypto.h
+++ b/crypto.h
@@ -15,7 +15,7 @@ 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 *);
+void bch2_add_key(struct bch_sb *, const char *, const char *, const char *);
 void bch_sb_crypt_init(struct bch_sb *sb, struct bch_sb_field_crypt *,
                       const char *);