diff options
author | Steve French <Yehuda.Sadeh@expand.com> | 2007-07-09 03:55:14 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-07-09 03:55:14 -0400 |
commit | b609f06ac4ac77433035366e9aa4dcd7a0f743a0 (patch) | |
tree | f4ecd57e0db3c398ffe7cf7eed3214cfff63585b /fs/cifs/cifsproto.h | |
parent | 3870253efb65e1960421ca74f5d336218c28fc5b (diff) |
[CIFS] Fix packet signatures for NTLMv2 case
Signed-off-by: Yehuda Sadeh Weinraub <Yehuda.Sadeh@expand.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 4a89f038af28..6a6e3f9f3f8b 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h | |||
@@ -294,9 +294,11 @@ extern void tconInfoFree(struct cifsTconInfo *); | |||
294 | extern int cifs_sign_smb(struct smb_hdr *, struct TCP_Server_Info *, __u32 *); | 294 | extern int cifs_sign_smb(struct smb_hdr *, struct TCP_Server_Info *, __u32 *); |
295 | extern int cifs_sign_smb2(struct kvec *iov, int n_vec, struct TCP_Server_Info *, | 295 | extern int cifs_sign_smb2(struct kvec *iov, int n_vec, struct TCP_Server_Info *, |
296 | __u32 *); | 296 | __u32 *); |
297 | extern int cifs_verify_signature(struct smb_hdr *, const char *mac_key, | 297 | extern int cifs_verify_signature(struct smb_hdr *, |
298 | __u32 expected_sequence_number); | 298 | const struct mac_key *mac_key, |
299 | extern int cifs_calculate_mac_key(char *key, const char *rn, const char *pass); | 299 | __u32 expected_sequence_number); |
300 | extern int cifs_calculate_mac_key(struct mac_key *key, const char *rn, | ||
301 | const char *pass); | ||
300 | extern int CalcNTLMv2_partial_mac_key(struct cifsSesInfo *, | 302 | extern int CalcNTLMv2_partial_mac_key(struct cifsSesInfo *, |
301 | const struct nls_table *); | 303 | const struct nls_table *); |
302 | extern void CalcNTLMv2_response(const struct cifsSesInfo *, char * ); | 304 | extern void CalcNTLMv2_response(const struct cifsSesInfo *, char * ); |