Searched refs:CIFS_SESS_KEY_SIZE (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/fs/smb/client/ |
D | cifsencrypt.c | 641 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response() 645 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response() 732 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp() 745 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp() 815 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey() 821 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey() 829 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey() 834 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey() 836 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey() 838 memzero_explicit(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
|
D | sess.c | 848 - CIFS_SESS_KEY_SIZE + CIFS_CPHTXT_SIZE + 2; in size_of_ntlmssp_blob() 1078 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob() 1079 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1080 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob() 1083 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1085 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1329 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in sess_auth_ntlmv2() 1330 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2() 1331 bcc_ptr += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in sess_auth_ntlmv2() 1337 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2()
|
D | ioctl.c | 259 out.session_key_length = CIFS_SESS_KEY_SIZE; in cifs_dump_full_key() 264 out.session_key_length = CIFS_SESS_KEY_SIZE; in cifs_dump_full_key()
|
D | cifspdu.h | 124 #define CIFS_SESS_KEY_SIZE (16) macro
|