aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsencrypt.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-06-05 01:27:37 -0400
committerSteve French <sfrench@us.ibm.com>2006-06-05 01:27:37 -0400
commitf64b23ae4aef9f69d71ea41529a188acd5ab4930 (patch)
tree7c8c0b06a98523c4fee98e12e621591a3ab69042 /fs/cifs/cifsencrypt.c
parent9312f6754d4b2d3ce27c21b16fb92923ce92a411 (diff)
[CIFS] NTLMv2 support part 2
Still need to fill in response structure and check that hash works Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
-rw-r--r--fs/cifs/cifsencrypt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c
index 3ae964bbfdc3..24ab770f60dc 100644
--- a/fs/cifs/cifsencrypt.c
+++ b/fs/cifs/cifsencrypt.c
@@ -306,6 +306,8 @@ void calc_lanman_hash(struct cifsSesInfo * ses, char * lnm_session_key)
306 306
307void CalcNTLMv2_response(const struct cifsSesInfo * ses,char * v2_session_response) 307void CalcNTLMv2_response(const struct cifsSesInfo * ses,char * v2_session_response)
308{ 308{
309 /* BB FIXME - update struct ntlmv2_response and change calling convention
310 of this function */
309 struct HMACMD5Context context; 311 struct HMACMD5Context context;
310 memcpy(v2_session_response + 8, ses->server->cryptKey,8); 312 memcpy(v2_session_response + 8, ses->server->cryptKey,8);
311 /* gen_blob(v2_session_response + 16); */ 313 /* gen_blob(v2_session_response + 16); */