Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-20 Thread Luca Tettamanti
On 7/20/06, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > On Thursday 20 July 2006 18:58, Luca wrote: > > (btw, rsa_data_set was leacked): > > Yes, it was intentional. If you free the key created out of a data set, you > can't free the data set itself, apparently, or you get a double free > (libg

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-20 Thread Rafael J. Wysocki
On Thursday 20 July 2006 18:58, Luca wrote: > Il Wed, Jul 19, 2006 at 10:13:00PM +0200, Rafael J. Wysocki ha scritto: > > On Wednesday 19 July 2006 21:38, Luca wrote: > > > Il Wed, Jul 19, 2006 at 05:55:17PM +0200, Rafael J. Wysocki ha scritto: > > > > The libgcrypt's AES seems to be significantl

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-20 Thread Luca
Il Wed, Jul 19, 2006 at 10:13:00PM +0200, Rafael J. Wysocki ha scritto: > On Wednesday 19 July 2006 21:38, Luca wrote: > > Il Wed, Jul 19, 2006 at 05:55:17PM +0200, Rafael J. Wysocki ha scritto: > > > The libgcrypt's AES seems to be significantly slower than the openssl's > > > Blowfish, but well

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Pavel Machek
Hi! > > > The appended patch makes s2disk/s2both and resume use libgcrypt instead > > > of openssl. It also replaces Blowfish with AES (128bit). > > > > > > > It works perfectly (only tested suspend-to-disk). Great work, as usual. > > Thanks! :-) > > > > The libgcrypt's AES seems to be signifi

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Rafael J. Wysocki
Hi, On Wednesday 19 July 2006 21:09, Fabio Comolli wrote: > On 7/19/06, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > > The appended patch makes s2disk/s2both and resume use libgcrypt instead > > of openssl. It also replaces Blowfish with AES (128bit). > > > > It works perfectly (only tested su

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Rafael J. Wysocki
On Wednesday 19 July 2006 21:38, Luca wrote: > Il Wed, Jul 19, 2006 at 05:55:17PM +0200, Rafael J. Wysocki ha scritto: > > The libgcrypt's AES seems to be significantly slower than the openssl's > > Blowfish, but well. Also IMHO libgcrypt is less convenient than openssl > > and the documentation

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Luca
Il Wed, Jul 19, 2006 at 05:55:17PM +0200, Rafael J. Wysocki ha scritto: > The libgcrypt's AES seems to be significantly slower than the openssl's > Blowfish, but well. Also IMHO libgcrypt is less convenient than openssl > and the documentation sucks. Agree... Btw, it should be made very clear

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Fabio Comolli
Hi Rafael On 7/19/06, Rafael J. Wysocki <[EMAIL PROTECTED]> wrote: > Hi, > > The appended patch makes s2disk/s2both and resume use libgcrypt instead > of openssl. It also replaces Blowfish with AES (128bit). > It works perfectly (only tested suspend-to-disk). Great work, as usual. > The libgcry

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Rafael J. Wysocki
On Wednesday 19 July 2006 18:40, Michal Schmidt wrote: > Rafael J. Wysocki wrote: > > The libgcrypt's AES seems to be significantly slower than the openssl's > > Blowfish, but well. > > libgcrypt is supposed to do Blowfish too (GCRY_CIPHER_BLOWFISH). What is > the reason for switching to AES? No

Re: [Suspend-devel] [RFT][PATCH] Use libgcrypt instead of openssl

2006-07-19 Thread Michal Schmidt
Rafael J. Wysocki wrote: > The libgcrypt's AES seems to be significantly slower than the openssl's > Blowfish, but well. libgcrypt is supposed to do Blowfish too (GCRY_CIPHER_BLOWFISH). What is the reason for switching to AES? Michal