> - the MIPS plateform I use is indeed little endian. > I will take a look to your question tomorrow. > I may not have seen the bug since I didn't made test with sha512 up to > now (only for bn_xxx/aes/sha1/sha256).
The below remark is about sha256 code! For now sha512-mips.pl module can generate sha512 code only for MIPS64, something you can not test on your platform [right?]. But the $MSB assignment affects *both* sha256 and sha512 codes, so that bug should have emerged in sha256 test on your platform. A. > Vincent, > > > As I don't have access to little-endian MIPS, > > In other words my understanding is that *your* MIPS platform is > little-endian, isn't it? I noticed something that has to be a bug in > sha512-mips.pl, which would fail sha256 test > on little-endian MIPS32 > platform. Specifically $MSB assignment should read > > $MSB = $big_endian ? 0 : ($SZ-1); > > The test *could* have passed, because test is performed on aligned > data... Does it make sense to you? A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [email protected] Automated List Manager [email protected]
