Searched refs:CIFS_SESS_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance
/linux/fs/smb/client/ |
H A D | cifsencrypt.c | 497 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response() 501 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response() 592 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp() 605 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp() 671 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey() 677 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey() 685 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey() 690 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey() 692 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey() 694 memzero_explicit(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
|
H A D | sess.c | 940 - CIFS_SESS_KEY_SIZE + CIFS_CPHTXT_SIZE + 2; in size_of_ntlmssp_blob() 1176 memcpy(tmp, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in build_ntlmssp_auth_blob() 1177 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1178 tmp += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in build_ntlmssp_auth_blob() 1181 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1183 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in build_ntlmssp_auth_blob() 1428 memcpy(bcc_ptr, ses->auth_key.response + CIFS_SESS_KEY_SIZE, in sess_auth_ntlmv2() 1429 ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2() 1430 bcc_ptr += ses->auth_key.len - CIFS_SESS_KEY_SIZE; in sess_auth_ntlmv2() 1436 cpu_to_le16(ses->auth_key.len - CIFS_SESS_KEY_SIZE); in sess_auth_ntlmv2()
|
H A D | ioctl.c | 295 out.session_key_length = CIFS_SESS_KEY_SIZE; in cifs_dump_full_key() 300 out.session_key_length = CIFS_SESS_KEY_SIZE; in cifs_dump_full_key()
|