lede/target/linux/ramips/patches-5.10/999-crypto-eip93-fix.patch
Boos4721 50cce804be
kernel: bump 5.10 to 5.10.73 (#8064)
Signed-off-by: boos4721 <3.1415926535boos@gmail.com>
2021-10-17 14:53:09 +08:00

15 lines
453 B
Diff

--- 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.