Now that the arrays of per-mode keys in struct fscrypt_master_key have been replaced by a linked list, the definition of FSCRYPT_MODE_MAX doesn't do anything useful. (Previously it was used to size these arrays.) Remove it.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -30,7 +30,6 @@ · 29 unmodified lines | ||
| 30 | 30 | #define FSCRYPT_MODE_SM4_CTS 8 |
| 31 | 31 | #define FSCRYPT_MODE_ADIANTUM 9 |
| 32 | 32 | #define FSCRYPT_MODE_AES_256_HCTR2 10 |
| 33 | −/* If adding a mode number > 10, update FSCRYPT_MODE_MAX in fscrypt_private.h */ | |
| 34 | 33 | |
| 35 | 34 | /* |
| 36 | 35 | * Legacy policy version; ad-hoc KDF and no key verification. |