Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
cifsencrypt.c File Reference
#include <linux/fs.h>
#include <linux/slab.h>
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifs_debug.h"
#include "cifs_unicode.h"
#include "cifsproto.h"
#include "ntlmssp.h"
#include <linux/ctype.h>
#include <linux/random.h>
#include <linux/highmem.h>

Go to the source code of this file.

Functions

int cifs_sign_rqst (struct smb_rqst *rqst, struct TCP_Server_Info *server, __u32 *pexpected_response_sequence_number)
 
int cifs_sign_smbv (struct kvec *iov, int n_vec, struct TCP_Server_Info *server, __u32 *pexpected_response_sequence)
 
int cifs_sign_smb (struct smb_hdr *cifs_pdu, struct TCP_Server_Info *server, __u32 *pexpected_response_sequence_number)
 
int cifs_verify_signature (struct smb_rqst *rqst, struct TCP_Server_Info *server, __u32 expected_sequence_number)
 
int setup_ntlm_response (struct cifs_ses *ses, const struct nls_table *nls_cp)
 
int setup_ntlmv2_rsp (struct cifs_ses *ses, const struct nls_table *nls_cp)
 
int calc_seckey (struct cifs_ses *ses)
 
void cifs_crypto_shash_release (struct TCP_Server_Info *server)
 
int cifs_crypto_shash_allocate (struct TCP_Server_Info *server)
 

Function Documentation

int calc_seckey ( struct cifs_ses ses)

Definition at line 661 of file cifsencrypt.c.

int cifs_crypto_shash_allocate ( struct TCP_Server_Info server)

Definition at line 727 of file cifsencrypt.c.

void cifs_crypto_shash_release ( struct TCP_Server_Info server)

Definition at line 708 of file cifsencrypt.c.

int cifs_sign_rqst ( struct smb_rqst rqst,
struct TCP_Server_Info server,
__u32 pexpected_response_sequence_number 
)

Definition at line 115 of file cifsencrypt.c.

int cifs_sign_smb ( struct smb_hdr cifs_pdu,
struct TCP_Server_Info server,
__u32 pexpected_response_sequence_number 
)

Definition at line 160 of file cifsencrypt.c.

int cifs_sign_smbv ( struct kvec iov,
int  n_vec,
struct TCP_Server_Info server,
__u32 pexpected_response_sequence 
)

Definition at line 150 of file cifsencrypt.c.

int cifs_verify_signature ( struct smb_rqst rqst,
struct TCP_Server_Info server,
__u32  expected_sequence_number 
)

Definition at line 172 of file cifsencrypt.c.

int setup_ntlm_response ( struct cifs_ses ses,
const struct nls_table nls_cp 
)

Definition at line 228 of file cifsencrypt.c.

int setup_ntlmv2_rsp ( struct cifs_ses ses,
const struct nls_table nls_cp 
)

Definition at line 565 of file cifsencrypt.c.