Re: Suspect bug in the authenc module

2010-03-04 Thread Herbert Xu
Roberto Sassu wrote: > > when dumping the data placed pointed by the scatterlist array i noted that > the > assoc is always zero'ed. I investigated further and it seems that the problem > is the static allocation of the assoc string in my test module. When using > the > kmalloc the dump is co

Re: Suspect bug in the authenc module

2010-03-04 Thread Roberto Sassu
Hello i pulled the crypto-2.6 repo today. Issues appear to be solved for both 32-bit and 64-bit systems. Many thanks! I have got another trouble when compiling my test module with a 64-bit operating system: when dumping the data placed pointed by the scatterlist array i noted that the assoc i

Re: Suspect bug in the authenc module

2010-03-01 Thread Steffen Klassert
On Sat, Feb 27, 2010 at 12:14:15PM +0100, Roberto Sassu wrote: > Hello > > i'm trying to use the authenc module and i wrote a small kernel module that > simply encrypts/decrypts a fixed data using the hmac(sha1) as authentication > algorithm and cbc(aes) as encryption algorithm. > The used plat

Suspect bug in the authenc module

2010-02-27 Thread Roberto Sassu
Hello i'm trying to use the authenc module and i wrote a small kernel module that simply encrypts/decrypts a fixed data using the hmac(sha1) as authentication algorithm and cbc(aes) as encryption algorithm. The used platform is a KVM quest with Fedora 12 i686 and the latest kernel 2.6.33. I ha