Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h165 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ member
724 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ member
Dsess.c590 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge()
1002 rc = calc_lanman_hash(ses->password, ses->server->cryptkey, in sess_auth_lanman()
Dcifsproto.h506 extern int calc_lanman_hash(const char *password, const char *cryptkey,
Dconnect.c4882 calc_lanman_hash(tcon->password, ses->server->cryptkey, in CIFSTCon()
4888 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey, in CIFSTCon()
Dcifssmb.c555 memcpy(server->cryptkey, rsp->EncryptionKey, in decode_lanman_negprot_rsp()
679 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, in CIFSSMBNegotiate()