summaryrefslogtreecommitdiff
path: root/crypto.c
AgeCommit message (Collapse)Author
2018-02-11add -c to cmd_unlock, to check if a device needs to be unlockedKent Overstreet
2017-12-10build: require explicit include paths for libbcachefs/Austin Seipp
This removes the implicit `-I libbcachefs` argument to $(CC), which in turn requires a set of minor changes throughout the tools. There are two advantages to this setup: 1) It is (arguably) easier to read, since the location of bcachefs includes are easier to understand at a glance ("where does util.h live?") 2) It removes the need for a hack to include glibc's copy of dirent.h explicitly via '/usr/include/dirent.h', because libbcachefs/ *also* has a dirent.h file and the compiler cannot disambiguate them. This has some ramifications on systems where /usr/include may not exist, such as NixOS. Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-11-08Add commands for changing and removing passphraseKent Overstreet
2017-04-14cmd_list improvements; use %mKent Overstreet
2017-04-02More cmd_migrate improvementsKent Overstreet
Factor out bch2_pick_bucket_size() from the format code, and pick the bucket size before picking the superblock location - that way we can ensure the superblock gets its own bucket and doesn't trigger warnings due to the allocation code noticing different types of data in the same bucket.
2017-03-19Rename from bcache-tools to bcachefs-toolsKent Overstreet
2017-03-09cmd_migrateKent Overstreet
2017-02-28New on disk format - encryptionKent Overstreet
2016-12-11add support for maximum journal entry sizeKent Overstreet
also rip out prototype crypto support code - real code is in the dev branch, with the new superblock format
2016-08-25Rework option handlingKent Overstreet
2016-08-21master key nonceKent Overstreet
2016-08-17Encryption supportKent Overstreet