We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1952c6 commit 42a5133Copy full SHA for 42a5133
include/aes_xts.h
@@ -103,6 +103,17 @@
103
extern "C" {
104
#endif
105
106
+/*
107
+ * Define enums from API v2.24, so applications that were using this version
108
+ * will still be compiled successfully.
109
+ * This list does not need to be extended for new definitions.
110
+ */
111
+#ifndef NO_COMPAT_ISAL_CRYPTO_API_2_24
112
+/***** Previous hash constants and typedefs *****/
113
+#define AES_XTS_MIN_LEN ISAL_AES_XTS_MIN_LEN
114
+#define AES_XTS_MAX_LEN ISAL_AES_XTS_MAX_LEN
115
+#endif /* !NO_COMPAT_ISAL_CRYPTO_API_2_24 */
116
+
117
#define ISAL_AES_XTS_MIN_LEN 16
118
#define ISAL_AES_XTS_MAX_LEN (1 << 24)
119
0 commit comments