Displaying 4 results from an estimated 4 matches for "byte_swap".
2001 Feb 27
4
Bad packet length in 2.5.1 with rijndael
it seems that this check does not work on solaris
#if BYTE_ORDER != LITTLE_ENDIAN
#define BYTE_SWAP
#endif
could you please check that BYTE_SWAP is defined
in rijndael.c
-m
2001 Jul 02
0
rijndael byteswapping
...(x,n) ((u1byte)((x) >> (8 * n)))
-#ifdef WORDS_BIGENDIAN
+/* We can't trust WORDS_BIGENDIAN when building for multiple architectures at the same time */
+#if (defined(BYTE_ORDER) && defined(BIG_ENDIAN) && (BYTE_ORDER == BIG_ENDIAN)) || defined(WORDS_BIGENDIAN)
#define BYTE_SWAP
#endif
2012 Mar 17
9
RaiderZ crash at the launcer
I am trying to run RaiderZ, that is a alpha game. However, the game crashes when running the launcher. Here is the crash report: http://pastebin.com/EvHLKDA7
I have tried to identify the problem, there are something wrong with msvcr90.dll:
Code:
wine: Call from 0x7b83a802 to unimplemented function msvcr90.dll._byteswap_ulong, aborting
wine: Unimplemented function msvcr90.dll._byteswap_ulong
2001 Sep 12
0
AES update..
...a 32 bit variable */
-
-#define bswap(x) ((rotl(x, 8) & 0x00ff00ff) | (rotr(x, 8) & 0xff00ff00))
-
-/* Extract byte from a 32 bit quantity (little endian notation) */
-
-#define byte(x,n) ((u1byte)((x) >> (8 * n)))
-
-#ifdef WORDS_BIGENDIAN
-#define BYTE_SWAP
-#endif
-
-#ifdef BYTE_SWAP
-#define io_swap(x) bswap(x)
-#else
-#define io_swap(x) (x)
-#endif
-
-#define LARGE_TABLES
-
-u1byte pow_tab[256];
-u1byte log_tab[256];
-u1byte sbx_tab[256];
-u1byte isb_tab[256];
-u4byte rco_tab[ 10];
-u4byte ft_tab[4][256];
-u4byte it_tab[4][256];
-
-#ifdef...