Re: Much slower than other block cipher implementations?

2013-12-05 Thread Werner Koch
On Thu, 5 Dec 2013 03:41, cai.0...@gmail.com said: As far as I know, only GnuPG 2.0.x on x86 environments supports AES-NI. Right. I addition you can't compare it with a simple block cipher as implemented by OpenSSL. OpenPGP does a lot more: It hashes the text to create a signature (which

Re: Much slower than other block cipher implementations?

2013-12-05 Thread Will Bryant
Hi Kosuke, On 5/12/2013, at 15:41 , Kosuke Kaizuka cai.0...@gmail.com wrote: Which version of GnuPG (ligcrypt) and OS are you using? We're using 1.4.11 on Ubuntu 12.04, on x86-64. The libgcrypt11 package is 1.5.0. 3. GnuPG 2.0.x on x86-64 Ligcrypt 1.5 branch does not support AES-NI yet on

Much slower than other block cipher implementations?

2013-12-04 Thread Will Bryant
Hi all, My understanding is that when you encrypt a file using GPG a random session key gets generated, that gets encrypted using public key crypto, and then that session key is used to encrypt the file using a regular block cipher. Why then does GPG only encrypt at about 12 MB/s when OpenSSL

Re: Much slower than other block cipher implementations?

2013-12-04 Thread Kosuke Kaizuka
Hi Will, On Thu, 5 Dec 2013 13:14:27 +1300, Will Bryant wrote: Hi all, My understanding is that when you encrypt a file using GPG a random session key gets generated, that gets encrypted using public key crypto, and then that session key is used to encrypt the file using a regular block