lede/target/linux/ramips/patches-5.15/999-crypto-eip93-fix.patch
2022-04-25 18:57:38 +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.