|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
diff -up libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcrypt_cfg.h.than libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcrypt_cfg.h
|
|
|
|
|
--- libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcrypt_cfg.h.than 2016-01-23 13:11:30.000000000 -0500
|
|
|
|
|
+++ libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcrypt_cfg.h 2016-03-09 09:30:52.655998598 -0500
|
|
|
|
|
@@ -55,6 +55,25 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const
|
|
|
|
|
+++ libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcrypt_cfg.h 2016-03-09 10:16:36.520161395 -0500
|
|
|
|
|
@@ -55,6 +55,23 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const
|
|
|
|
|
* use the portable [slower] macros.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
@ -17,9 +17,7 @@ diff -up libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcry
|
|
|
|
|
+#if defined(__s390x__)
|
|
|
|
|
+#define ENDIAN_64BITWORD
|
|
|
|
|
+#define ENDIAN_BIG
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+#if defined(__s390__)
|
|
|
|
|
+#elif defined(__s390__)
|
|
|
|
|
+#define ENDIAN_32BITWORD
|
|
|
|
|
+#define ENDIAN_BIG
|
|
|
|
|
+#endif
|
|
|
|
@ -27,7 +25,7 @@ diff -up libtomcrypt-912eff4949f46c0b426d2180429a6fa4c1144f1d/src/headers/tomcry
|
|
|
|
|
/* detect x86-32 machines somewhat */
|
|
|
|
|
#if !defined(__STRICT_ANSI__) && !defined(__x86_64__) && !defined(_WIN64) && ((defined(_MSC_VER) && defined(WIN32)) || (defined(__GNUC__) && (defined(__DJGPP__) || defined(__CYGWIN__) || defined(__MINGW32__) || defined(__i386__))))
|
|
|
|
|
#define ENDIAN_LITTLE
|
|
|
|
|
@@ -94,7 +113,7 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const
|
|
|
|
|
@@ -94,7 +111,7 @@ LTC_EXPORT int LTC_CALL XSTRCMP(const
|
|
|
|
|
/* this is the "32-bit at least" data type
|
|
|
|
|
* Re-define it to suit your platform but it must be at least 32-bits
|
|
|
|
|
*/
|
|
|
|
|