Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dcifsencrypt.c776 unsigned char sec_key[CIFS_SESS_KEY_SIZE]; /* a nonce */ in calc_seckey() local
782 get_random_bytes(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
791 arc4_crypt(ctx_arc4, ses->ntlmssp->ciphertext, sec_key, in calc_seckey()
795 memcpy(ses->auth_key.response, sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()
799 memzero_explicit(sec_key, CIFS_SESS_KEY_SIZE); in calc_seckey()