Subject: | MODE_CTR tests behaving badly on Solaris/x86 |
Using Solaris 8 x86 (PIII) and Solaris 8 SPARC (USIII), Perl 5.8.7.
MODE_CTR tests are behaving strangely on Solaris 8 x86, but not on
Solaris 8 SPARC. The results of the MODE_CTR tests on x86 (with
instrumentation):
ok 35
# CTR-AES-128: Crypted
not ok 36
# CTR-AES-128: Decrypted
ok 37
# CTR-AES-192: Crypted
not ok 38
# CTR-AES-192: Decrypted
ok 39
# CTR-AES-256: Crypted
not ok 40
# CTR-AES-256: Decrypted
ok 41
FAILED tests 36, 38, 40
It appears that, for the MODE_CTR tests only, the encrypted text tests
fail, but the plaintext is recovered correctly. I have no clue at the
moment why this would be any different for Solaris x86, given that the
test suite must pass on Linux x86.
I tried changing rijndael.h to define UINT32 as uint32_t from sys/types.h,
but this had no effect on the outcome of the test suite, on either
platform.