X-Git-Url: https://bbs.cooldavid.org/git/?a=blobdiff_plain;f=fs%2Fcifs%2Fcifspdu.h;h=de36b09763a84e7fb6016b93222fc74ee263d540;hb=HEAD;hp=b0f4b5656d4c2008379f720194e2a294350a06bc;hpb=33081adf8b89d5a716d7e1c60171768d39795b39;p=net-next-2.6.git diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index b0f4b5656d4..de36b09763a 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -130,10 +130,21 @@ */ #define CIFS_CRYPTO_KEY_SIZE (8) +/* + * Size of the ntlm client response + */ +#define CIFS_AUTH_RESP_SIZE (24) + /* * Size of the session key (crypto key encrypted with the password */ -#define CIFS_SESS_KEY_SIZE (24) +#define CIFS_SESS_KEY_SIZE (16) + +#define CIFS_CLIENT_CHALLENGE_SIZE (8) +#define CIFS_SERVER_CHALLENGE_SIZE (8) +#define CIFS_HMAC_MD5_HASH_SIZE (16) +#define CIFS_CPHTXT_SIZE (16) +#define CIFS_NTHASH_SIZE (16) /* * Maximum user name length