Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cifs/
Dcifsencrypt.c280 rc = SMBNTencrypt(ses->password, ses->server->cryptkey, in setup_ntlm_response()
304 int calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt, in calc_lanman_hash() argument
335 rc = SMBencrypt(password_with_pad, cryptkey, lnm_session_key); in calc_lanman_hash()
626 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
629 ses->server->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
Dcifsglob.h133 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ member
597 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ member
Dcifsproto.h445 extern int calc_lanman_hash(const char *password, const char *cryptkey,
Dsess.c304 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge()
690 rc = calc_lanman_hash(ses->password, ses->server->cryptkey, in sess_auth_lanman()
Dconnect.c3781 calc_lanman_hash(tcon->password, ses->server->cryptkey, in CIFSTCon()
3787 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey, in CIFSTCon()
Dcifssmb.c509 memcpy(server->cryptkey, rsp->EncryptionKey, in decode_lanman_negprot_rsp()
626 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, in CIFSSMBNegotiate()