aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt/fscrypt_test.go
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-01-14 18:43:25 -0800
committerEric Biggers <ebiggers@google.com>2019-01-14 18:43:25 -0800
commit5f06ede200fb390aafb7831c8c944ddd677be023 (patch)
tree1cc8f54994a4c51797fde4df7b392e2c3f8cf02f /cmd/fscrypt/fscrypt_test.go
parent7e8d04041908d4867846bea00e009c089d878d01 (diff)
Add support for the Adiantum encryption mode
Add Adiantum support to the fscrypt userspace tool. Supported in the kernel since v5.0-rc1, Adiantum is a length-preserving encryption mode based primarily on XChaCha12. It is fast even on CPUs without AES instructions. Unlike XTS it is also a wide-block encryption mode. Adiantum is supported for both contents and filenames encryption. For Adiantum encryption policies, also make the fscrypt tool provide the new DIRECT_KEY flag, which further improves performance by requesting that all files be encrypted directly with the policy key. This takes advantage of Adiantum's support for long tweaks. See the kernel commit "fscrypt: add Adiantum support" (https://git.kernel.org/torvalds/c/8094c3ceb21ad938) for more details.
Diffstat (limited to 'cmd/fscrypt/fscrypt_test.go')
0 files changed, 0 insertions, 0 deletions