Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dcifsencrypt.c671 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey() local
677 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
686 cifs_arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
690 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
694 memzero_explicit(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()