AES endianness difference in 0.9.8d?

2006-10-02 Thread Bruce Stephens
I build OpenSSL 0.9.8d on x86 GNU/Linux with gcc-4.1, and on SPARC Solaris with Sun Studio 11 cc. I get the following. On GNU/Linux: brs% ./openssl aes-128-cbc -in pca-cert.srl -k secret -a U2FsdGVkX1/4wyyZncUl/+DrVpt/HzuHZcO+reAKB/w= On Solaris: edmund% ./openssl aes-128-cbc -in

Re: AES endianness difference in 0.9.8d?

2006-10-02 Thread Bruce Stephens
Bruce Stephens [EMAIL PROTECTED] writes: [...] Ah, I see a problem. The SPARC one fails the AES-128-ECB(encrypt) test: OK, on another box (with more up to date compiler and OS patches) it passes, so it's probably a toolchain problem. [...]

Re: AES endianness difference in 0.9.8d?

2006-10-02 Thread Tim Rice
On Mon, 2 Oct 2006, Bruce Stephens wrote: Bruce Stephens [EMAIL PROTECTED] writes: [...] Ah, I see a problem. The SPARC one fails the AES-128-ECB(encrypt) test: OK, on another box (with more up to date compiler and OS patches) it passes, so it's probably a toolchain problem. The