Hi,

> I'll try and think of something more to test in due time.

Hah. I do spot an error in the BIG_ENDIAN code, I believe. But that
doesn't help you at all.

I'm still at a loss about what could cause the failures. And unfortunately
I do not have access to any ARM machines to debug this properly.


Regards,
Walter


For the record, a bug in the big endian code:

Index: thex.c
===================================================================
--- thex.c      (revision 91)
+++ thex.c      (working copy)
@@ -97,7 +97,7 @@
                pos -= 3;
                for (j = 0; j < 2*3*8; ++j)
                    temp[j ^ 7] = ((uint8_t*)(data + pos))[j];
-               tiger_bp(0x01, &temp[0], 6 * sizeof(uint64_t), data);
+               tiger_bp(0x01, &temp[0], 6 * sizeof(uint64_t), data + pos);
 #else /* BYTE_ORDER != BIG_ENDIAN */
                uint64_t temp[3];
                pos -= 3;
@@ -137,7 +137,7 @@
            pos -= 3;
            for (j = 0; j < 2*3*8; ++j)
                temp[j ^ 7] = ((const uint8_t*)(data + pos))[j];
-           tiger_bp(0x01, &temp[0], 6 * sizeof(uint64_t), data);
+           tiger_bp(0x01, &temp[0], 6 * sizeof(uint64_t), data + pos);
 #else /* BYTE_ORDER != BIG_ENDIAN */
            uint64_t temp[3];
            pos -= 3;






--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to