Skip to content

Commit f8b435f

Browse files
committed
fscrypt: remove unused Speck definitions
These old unused definitions were originally left around to prevent the same mode numbers from being reused. However, we've now decided to reuse the mode numbers anyway. So let's completely remove these old unused definitions to avoid confusion. There is no reason for any code to be using these constants in any way; and indeed, Debian Code Search shows no uses of them (other than in copies or translations of the header). So this should be perfectly safe. Signed-off-by: Eric Biggers <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent e0cefad commit f8b435f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/uapi/linux/fscrypt.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ struct fscrypt_get_key_status_arg {
187187
#define FS_ENCRYPTION_MODE_AES_256_CTS FSCRYPT_MODE_AES_256_CTS
188188
#define FS_ENCRYPTION_MODE_AES_128_CBC FSCRYPT_MODE_AES_128_CBC
189189
#define FS_ENCRYPTION_MODE_AES_128_CTS FSCRYPT_MODE_AES_128_CTS
190-
#define FS_ENCRYPTION_MODE_SPECK128_256_XTS 7 /* removed */
191-
#define FS_ENCRYPTION_MODE_SPECK128_256_CTS 8 /* removed */
192190
#define FS_ENCRYPTION_MODE_ADIANTUM FSCRYPT_MODE_ADIANTUM
193191
#define FS_KEY_DESC_PREFIX FSCRYPT_KEY_DESC_PREFIX
194192
#define FS_KEY_DESC_PREFIX_SIZE FSCRYPT_KEY_DESC_PREFIX_SIZE

0 commit comments

Comments
 (0)