Re: [PATCH -v3 3/4 cifs] NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchange

2010-09-15 Thread Jeff Layton
On Tue, 14 Sep 2010 22:38:14 -0500 Shirish Pargaonkar shirishpargaon...@gmail.com wrote: +             if (ses-tilen 0) { +                     memcpy(bcc_ptr, ses-tiblob, +                             ses-tilen); +                     bcc_ptr += ses-tilen; +                    

Re: [PATCH -v3 3/4 cifs] NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchange

2010-09-14 Thread Jeff Layton
On Mon, 13 Sep 2010 14:15:39 -0500 shirishpargaon...@gmail.com wrote: From: Shirish Pargaonkar shirishpargaon...@gmail.com Mark dependency on crypto modules in Kconfig. Defining per structures sdesc and cifs_secmech which are used to store crypto hash functions and contexts. They are

Re: [PATCH -v3 3/4 cifs] NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchange

2010-09-14 Thread Shirish Pargaonkar
On Tue, Sep 14, 2010 at 7:33 AM, Jeff Layton jlay...@redhat.com wrote: On Mon, 13 Sep 2010 14:15:39 -0500 shirishpargaon...@gmail.com wrote: From: Shirish Pargaonkar shirishpargaon...@gmail.com Mark dependency on crypto modules in Kconfig. Defining per structures sdesc and cifs_secmech

Re: [PATCH -v3 3/4 cifs] NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchange

2010-09-14 Thread Jeff Layton
On Tue, 14 Sep 2010 09:15:38 -0500 Shirish Pargaonkar shirishpargaon...@gmail.com wrote: +                             /* 5 is an empirical value, large enought to +                              * hold authenticate message, max 10 of +                              * av paris,

Re: [PATCH -v3 3/4 cifs] NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchange

2010-09-14 Thread Shirish Pargaonkar
On Tue, Sep 14, 2010 at 9:33 AM, Jeff Layton jlay...@redhat.com wrote: On Tue, 14 Sep 2010 09:15:38 -0500 Shirish Pargaonkar shirishpargaon...@gmail.com wrote: +                             /* 5 is an empirical value, large enought to +                              * hold authenticate

Re: [PATCH -v3 3/4 cifs] NTLMv2/NTLMSSP define crypto hash functions and create and send keys needed for key exchange

2010-09-14 Thread Shirish Pargaonkar
On Tue, Sep 14, 2010 at 7:33 AM, Jeff Layton jlay...@redhat.com wrote: On Mon, 13 Sep 2010 14:15:39 -0500 shirishpargaon...@gmail.com wrote: From: Shirish Pargaonkar shirishpargaon...@gmail.com Mark dependency on crypto modules in Kconfig. Defining per structures sdesc and cifs_secmech