Pull fscrypt updates from Ted Ts'o: "Add bunch of cleanups, and add support for the Speck128/256 algorithms. Yes, Speck is contrversial, but the intention is to use them only for the lowest end Android devices, where the alternative *really* is no encryption at all for data stored at rest" * tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/fscrypt: fscrypt: log the crypto algorithm implementations fscrypt: add Speck128/256 support fscrypt: only derive the needed portion of the key fscrypt: separate key lookup from key derivation fscrypt: use a common logging function fscrypt: remove internal key size constants fscrypt: remove unnecessary check for non-logon key type fscrypt: make fscrypt_operations.max_namelen an integer fscrypt: drop empty name check from fname_decrypt() fscrypt: drop max_namelen check from fname_decrypt() fscrypt: don't special-case EOPNOTSUPP from fscrypt_get_encryption_info() fscrypt: don't clear flags on crypto transform fscrypt: remove stale comment from fscrypt_d_revalidate() fscrypt: remove error messages for skcipher_request_alloc() failure fscrypt: remove unnecessary NULL check when allocating skcipher fscrypt: clean up after fscrypt_prepare_lookup() conversions fs, fscrypt: only define ->s_cop when FS_ENCRYPTION is enabled fscrypt: use unbound workqueue for decryption
Showing the changes to include/uapi/linux (1 of 13 files). Show all
Unified · Split
| @@ -279,6 +279,8 @@ struct fsxattr { · 278 unmodified lines | |||
| 279 | #define FS_ENCRYPTION_MODE_AES_256_CTS 4 | 279 | #define FS_ENCRYPTION_MODE_AES_256_CTS 4 |
| 280 | #define FS_ENCRYPTION_MODE_AES_128_CBC 5 | 280 | #define FS_ENCRYPTION_MODE_AES_128_CBC 5 |
| 281 | #define FS_ENCRYPTION_MODE_AES_128_CTS 6 | 281 | #define FS_ENCRYPTION_MODE_AES_128_CTS 6 |
| 282 | #define FS_ENCRYPTION_MODE_SPECK128_256_XTS 7 | ||
| 283 | #define FS_ENCRYPTION_MODE_SPECK128_256_CTS 8 | ||
| 282 | 284 | ||
| 283 | struct fscrypt_policy { | 285 | struct fscrypt_policy { |
| 284 | __u8 version; | 286 | __u8 version; |