Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
iscsi_target_auth.h File Reference

Go to the source code of this file.

Data Structures

struct  iscsi_chap
 

Macros

#define CHAP_DIGEST_MD5   5
 
#define CHAP_DIGEST_SHA   6
 
#define CHAP_CHALLENGE_LENGTH   16
 
#define CHAP_CHALLENGE_STR_LEN   4096
 
#define MAX_RESPONSE_LENGTH   64 /* sufficient for MD5 */
 
#define MAX_CHAP_N_SIZE   512
 
#define MD5_SIGNATURE_SIZE   16 /* 16 bytes in a MD5 message digest */
 
#define CHAP_STAGE_CLIENT_A   1
 
#define CHAP_STAGE_SERVER_AIC   2
 
#define CHAP_STAGE_CLIENT_NR   3
 
#define CHAP_STAGE_CLIENT_NRIC   4
 
#define CHAP_STAGE_SERVER_NR   5
 

Functions

u32 chap_main_loop (struct iscsi_conn *, struct iscsi_node_auth *, char *, char *, int *, int *)
 

Variables

struct iscsi_chap ____cacheline_aligned
 

Macro Definition Documentation

#define CHAP_CHALLENGE_LENGTH   16

Definition at line 7 of file iscsi_target_auth.h.

#define CHAP_CHALLENGE_STR_LEN   4096

Definition at line 8 of file iscsi_target_auth.h.

#define CHAP_DIGEST_MD5   5

Definition at line 4 of file iscsi_target_auth.h.

#define CHAP_DIGEST_SHA   6

Definition at line 5 of file iscsi_target_auth.h.

#define CHAP_STAGE_CLIENT_A   1

Definition at line 14 of file iscsi_target_auth.h.

#define CHAP_STAGE_CLIENT_NR   3

Definition at line 16 of file iscsi_target_auth.h.

#define CHAP_STAGE_CLIENT_NRIC   4

Definition at line 17 of file iscsi_target_auth.h.

#define CHAP_STAGE_SERVER_AIC   2

Definition at line 15 of file iscsi_target_auth.h.

#define CHAP_STAGE_SERVER_NR   5

Definition at line 18 of file iscsi_target_auth.h.

#define MAX_CHAP_N_SIZE   512

Definition at line 10 of file iscsi_target_auth.h.

#define MAX_RESPONSE_LENGTH   64 /* sufficient for MD5 */

Definition at line 9 of file iscsi_target_auth.h.

#define MD5_SIGNATURE_SIZE   16 /* 16 bytes in a MD5 message digest */

Definition at line 12 of file iscsi_target_auth.h.

Function Documentation

u32 chap_main_loop ( struct iscsi_conn ,
struct iscsi_node_auth ,
char ,
char ,
int ,
int  
)

Definition at line 436 of file iscsi_target_auth.c.

Variable Documentation