[linux-cifs-client][PATCH] Enable signing for ntlmv2 within NTLMSSP using kernel crypto APIs

2010-07-31 Thread shirishpargaonkar
Enable signing for ntlmv2 auth mech within NTLMSSP. Changed most of the crypto routines used by cifs to the kernel crypto apis. >From 11024eb79977a70502468a997744aca1e4ad81d0 Mon Sep 17 00:00:00 2001 From: Shirish Pargaonkar Date: Sat, 31 Jul 2010 14:18:02 -0500 Subject: [PATCH] enable signing f

Re: [linux-cifs-client][PATCH] Enable signing for ntlmv2 within NTLMSSP using kernel crypto APIs

2010-08-01 Thread Herbert Xu
shirishpargaon...@gmail.com wrote: > > static int cifs_calculate_signature(const struct smb_hdr *cifs_pdu, > - const struct mac_key *key, char > *signature) > + struct TCP_Server_Info *server, char *signature) > { > - struct MD5Context

Re: [linux-cifs-client][PATCH] Enable signing for ntlmv2 within NTLMSSP using kernel crypto APIs

2010-08-02 Thread Shirish Pargaonkar
On Mon, Aug 2, 2010 at 1:55 AM, Herbert Xu wrote: > shirishpargaon...@gmail.com wrote: >> >> static int cifs_calculate_signature(const struct smb_hdr *cifs_pdu, >> -                                   const struct mac_key *key, char >> *signature) >> +                       struct TCP_Server_Info

Re: [linux-cifs-client][PATCH] Enable signing for ntlmv2 within NTLMSSP using kernel crypto APIs

2010-08-03 Thread Herbert Xu
On Mon, Aug 02, 2010 at 11:46:07PM -0500, Shirish Pargaonkar wrote: > > I have compile issues with crypto_shash interfaces, no such issues > with crypto_hash_ APIs, > everything works fine. > > When I have code like this, I have errors and warning and when I cast > them as (char *), module > oops

Re: [linux-cifs-client][PATCH] Enable signing for ntlmv2 within NTLMSSP using kernel crypto APIs

2010-08-03 Thread Herbert Xu
On Tue, Aug 03, 2010 at 09:48:14PM -0500, Shirish Pargaonkar wrote: > > @@ -42,21 +43,38 @@ extern void SMBencrypt(unsigned char *passwd, const > unsigned char *c8, > unsigned char *p24); > > static int cifs_calculate_signature(const struct smb_hdr *cifs_pdu, > -