2007-03-06 11:18:17 +01:00
|
|
|
Index: crypto/camellia/cmll_locl.h
|
|
|
|
===================================================================
|
|
|
|
--- crypto/camellia/cmll_locl.h.orig
|
2006-12-19 00:17:18 +01:00
|
|
|
+++ crypto/camellia/cmll_locl.h
|
2007-03-06 11:18:17 +01:00
|
|
|
@@ -97,7 +97,7 @@ extern "C" {
|
|
|
|
(ct)[2] = (u8)((st) >> 8); \
|
|
|
|
(ct)[3] = (u8)(st); }
|
2006-12-19 00:17:18 +01:00
|
|
|
|
2007-03-06 11:18:17 +01:00
|
|
|
-#if (defined (__GNUC__) && (defined(__x86_64__) || defined(__x86_64)))
|
|
|
|
+#if (defined (__GNUC__) && (defined(__x86_64__) || defined(__x86_64) || defined(i386)))
|
2006-12-19 00:17:18 +01:00
|
|
|
#define CAMELLIA_SWAP4(x) \
|
|
|
|
do{\
|
|
|
|
asm("bswap %1" : "+r" (x));\
|