Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dcifsencrypt.c281 rc = SMBNTencrypt(ses->password, ses->server->cryptkey, in setup_ntlm_response()
305 int calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt, in calc_lanman_hash() argument
340 rc = SMBencrypt(password_with_pad, cryptkey, lnm_session_key); in calc_lanman_hash()
633 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
636 ses->server->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
Dcifsglob.h162 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ member
711 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ member
Dsess.c312 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge()
724 rc = calc_lanman_hash(ses->password, ses->server->cryptkey, in sess_auth_lanman()
Dcifsproto.h486 extern int calc_lanman_hash(const char *password, const char *cryptkey,
Dconnect.c4993 calc_lanman_hash(tcon->password, ses->server->cryptkey, in CIFSTCon()
4999 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey, in CIFSTCon()
Dcifssmb.c630 memcpy(server->cryptkey, rsp->EncryptionKey, in decode_lanman_negprot_rsp()
752 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, in CIFSSMBNegotiate()