Re: AES-NI in 1.0.1

2012-03-18 Thread Thor Lancelot Simon
On Sun, Mar 18, 2012 at 05:57:24PM +0100, Kurt Roeckx wrote: So if you directly use the AES API you used to have a little better performance, but now you don't get the AES-NI support and so are a factor slower when using it. Is this the normal and expected behaviour? I hope this isn't

Re: AES-NI in 1.0.1

2012-03-18 Thread Andy Polyakov
Hi, 1.0.1: $ openssl speed aes-128-cbc: type 16 bytes 64 bytes256 bytes 1024 bytes 8192 bytes aes-128 cbc 110450.10k 120831.36k 122216.11k 123465.05k 123909.46k $ openssl speed -evp aes-128-cbc: type 16 bytes 64 bytes256 bytes 1024

Re: AES-NI in 1.0.1

2012-03-18 Thread Andy Polyakov
So if you directly use the AES API you used to have a little better performance, but now you don't get the AES-NI support and so are a factor slower when using it. Is this the normal and expected behaviour? I hope this isn't true. If it is, it means applications like OpenSSH that

Re: AES-NI in 1.0.1

2012-03-18 Thread Kurt Roeckx
On Sun, Mar 18, 2012 at 07:16:27PM +0100, Andy Polyakov wrote: Hi, 1.0.1: $ openssl speed aes-128-cbc: type 16 bytes 64 bytes256 bytes 1024 bytes 8192 bytes aes-128 cbc 110450.10k 120831.36k 122216.11k 123465.05k 123909.46k $ openssl speed

Re: AES-NI in 1.0.1

2012-03-18 Thread Andy Polyakov
1.0.1: $ openssl speed aes-128-cbc: type 16 bytes 64 bytes256 bytes 1024 bytes 8192 bytes aes-128 cbc 110450.10k 120831.36k 122216.11k 123465.05k 123909.46k $ openssl speed -evp aes-128-cbc: type 16 bytes 64 bytes256 bytes 1024

Re: AES-NI in 1.0.1

2012-03-18 Thread Kurt Roeckx
On Sun, Mar 18, 2012 at 07:24:25PM +0100, Andy Polyakov wrote: So if you directly use the AES API you used to have a little better performance, but now you don't get the AES-NI support and so are a factor slower when using it. Is this the normal and expected behaviour? I hope

Re: AES-NI in 1.0.1

2012-03-18 Thread Andy Polyakov
So if you directly use the AES API you used to have a little better performance, but now you don't get the AES-NI support and so are a factor slower when using it. Is this the normal and expected behaviour? I hope this isn't true. If it is, it means applications like OpenSSH that