summaryrefslogtreecommitdiff
path: root/c_src/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/crypto.h')
-rw-r--r--c_src/crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c_src/crypto.h b/c_src/crypto.h
index baea6d86..cd3baac8 100644
--- a/c_src/crypto.h
+++ b/c_src/crypto.h
@@ -19,4 +19,7 @@ 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 *);
+void bch_crypt_update_passphrase(struct bch_sb *sb, struct bch_sb_field_crypt *crypt,
+ struct bch_key *key, const char *new_passphrase);
+
#endif /* _CRYPTO_H */