Re: [openssl.org #2733] Padlock encryption broken for aes192 and aes256

2012-02-28 Thread Andy Polyakov via RT
In Debian we ship several versions of the shared libraries on i386. One that's build the default instruction set of that architecture (which is still i486 I think), and then 2 optimised versions, one for 586 and one for 686. The 586 and 686 versions use the assembler and so have AES_ASM

Re: [openssl.org #2733] Padlock encryption broken for aes192 and aes256

2012-02-27 Thread Kurt Roeckx via RT
On Tue, Feb 28, 2012 at 12:08:31AM +0100, Andy Polyakov via RT wrote: In Debian we ship several versions of the shared libraries on i386. One that's build the default instruction set of that architecture (which is still i486 I think), and then 2 optimised versions, one for 586 and one for

Re: [openssl.org #2733] Padlock encryption broken for aes192 and aes256

2012-02-27 Thread Kurt Roeckx
On Tue, Feb 28, 2012 at 12:08:31AM +0100, Andy Polyakov via RT wrote: In Debian we ship several versions of the shared libraries on i386. One that's build the default instruction set of that architecture (which is still i486 I think), and then 2 optimised versions, one for 586 and one for

[openssl.org #2733] Padlock encryption broken for aes192 and aes256

2012-02-26 Thread Kurt Roeckx via RT
Hi, It seems that the padlock engine does something wrong for aes192 and aes256. Things work perfectly with aes128. If I use openssl enc -aes256 -nosalt to encrypt something it generates something different with and without the padlock engine loaded. Also, when the padlock engine is loaded, it