Home
last modified time | relevance | path

Searched refs:CIFS_SESS_KEY_SIZE (Results 1 – 3 of 3) sorted by relevance

/linux/fs/smb/client/
H A Dcifsencrypt.c508 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in CalcNTLMv2_response()
512 hash_len = ses->auth_key.len - (CIFS_SESS_KEY_SIZE + in CalcNTLMv2_response()
590 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp()
603 (ses->auth_key.response + CIFS_SESS_KEY_SIZE); in setup_ntlmv2_rsp()
669 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey()
675 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
683 cifs_arc4_setkey(ctx_arc4, ses->auth_key.response, CIFS_SESS_KEY_SIZE); in calc_seckey()
688 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
690 ses->auth_key.len = CIFS_SESS_KEY_SIZE; in calc_seckey()
692 memzero_explicit(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
H A Dioctl.c295 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()
H A Dcifspdu.h124 #define CIFS_SESS_KEY_SIZE (16) macro