]> git.sesse.net Git - bcachefs-tools-debian/blob - crypto.h
New on disk format - encryption
[bcachefs-tools-debian] / crypto.h
1 #ifndef _CRYPTO_H
2 #define _CRYPTO_H
3
4 #include "super-io.h"
5 #include "tools-util.h"
6
7 char *read_passphrase(const char *);
8 void derive_passphrase(struct bch_sb_field_crypt *,
9                        struct bch_key *, const char *);
10 void bch_sb_crypt_init(struct bch_sb *sb, struct bch_sb_field_crypt *,
11                        const char *);
12
13 #endif /* _CRYPTO_H */