Re: Question about error codes

2009-06-16 Thread Erik Lotspeich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Herbert, Sebastian: Thanks so much for your response; your answers were very helpful! Regards, Erik. Herbert Xu wrote: > On Tue, Jun 16, 2009 at 10:34:06PM +0200, Sebastian Andrzej Siewior wrote: >>> Any help would be greatly appreciated. >> I g

Re: Question about error codes

2009-06-16 Thread Herbert Xu
On Tue, Jun 16, 2009 at 10:34:06PM +0200, Sebastian Andrzej Siewior wrote: > > >Any help would be greatly appreciated. > I guess the number of bytes to decrypt/encrypt ist not always a modulos > of the blockmode. Yes that's probably what it is. Thanks, -- Visit Openswan at http://www.openswan.or

Re: Question about error codes

2009-06-16 Thread Sebastian Andrzej Siewior
* Erik Lotspeich | 2009-06-16 11:47:15 [-0500]: >Hi, Hi, > >I have a question about the meaning of the error codes returned by the >Linux kernel crypto API. In particular, I am interested in the codes >returned by crypto_ablkcipher_encrypt() & crypto_ablkcipher_decrypt(). >I am receiving a retur

Question about error codes

2009-06-16 Thread Erik Lotspeich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have a question about the meaning of the error codes returned by the Linux kernel crypto API. In particular, I am interested in the codes returned by crypto_ablkcipher_encrypt() & crypto_ablkcipher_decrypt(). I am receiving a return value of 22

Re: sha384 self-test failure oddity

2009-06-16 Thread Jarod Wilson
On Tuesday 16 June 2009 07:22:50 Herbert Xu wrote: > On Tue, Jun 02, 2009 at 03:41:34PM -0400, Jarod Wilson wrote: > > On Tuesday 02 June 2009 09:20:38 Herbert Xu wrote: > > > On Tue, Jun 02, 2009 at 09:01:42AM -0400, Jarod Wilson wrote: > > > > > > > > > I can't reproduce this with 2.6.30-rc7. > >

Re: sha384 self-test failure oddity

2009-06-16 Thread Herbert Xu
On Tue, Jun 02, 2009 at 03:41:34PM -0400, Jarod Wilson wrote: > On Tuesday 02 June 2009 09:20:38 Herbert Xu wrote: > > On Tue, Jun 02, 2009 at 09:01:42AM -0400, Jarod Wilson wrote: > > > > > > > I can't reproduce this with 2.6.30-rc7. > > > > > > I'll rebase my cryptodev tree to 2.6.30-rcX and see