--- a/include/linux/crypto.h +++ b/include/linux/crypto.h @@ -101,6 +101,11 @@ #define CRYPTO_NOLOAD 0x00008000 /* + * Transform masks and values (for crt_flags). + */ +#define CRYPTO_TFM_RES_BAD_KEY_LEN 0x00200000 + +/* * The algorithm may allocate memory during request processing, i.e. during * encryption, decryption, or hashing. Users can request an algorithm with this * flag unset if they can't handle memory allocation failures.