Searched refs:cryptkey (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cifsencrypt.c | 281 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()
|
H A D | cifsglob.h | 165 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ member 724 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ member
|
H A D | cifsproto.h | 506 extern int calc_lanman_hash(const char *password, const char *cryptkey,
|
H A D | sess.c | 590 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge() 998 * Encryption Key (stored as in cryptkey) gets used if the in sess_auth_lanman() 1002 rc = calc_lanman_hash(ses->password, ses->server->cryptkey, in sess_auth_lanman()
|
H A D | connect.c | 4882 calc_lanman_hash(tcon->password, ses->server->cryptkey, in CIFSTCon() 4888 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey, in CIFSTCon()
|
H A D | cifssmb.c | 555 memcpy(server->cryptkey, rsp->EncryptionKey, in decode_lanman_negprot_rsp() 558 return -EIO; /* need cryptkey unless plain text */ in decode_lanman_negprot_rsp() 679 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, in CIFSSMBNegotiate()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | auth.h | 44 char *cryptkey);
|
H A D | ntlmssp.h | 167 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; member
|
H A D | auth.c | 220 char *cryptkey) in ksmbd_auth_ntlmv2() 261 memcpy(construct, cryptkey, CIFS_CRYPTO_KEY_SIZE); in ksmbd_auth_ntlmv2() 344 domain_name, conn->ntlmssp.cryptkey); in ksmbd_decode_ntlmssp_auth_blob() 473 get_random_bytes(conn->ntlmssp.cryptkey, sizeof(__u64)); in ksmbd_build_ntlmssp_challenge_blob() 474 memcpy(chgblob->Challenge, conn->ntlmssp.cryptkey, in ksmbd_build_ntlmssp_challenge_blob() 218 ksmbd_auth_ntlmv2(struct ksmbd_conn *conn, struct ksmbd_session *sess, struct ntlmv2_resp *ntlmv2, int blen, char *domain_name, char *cryptkey) ksmbd_auth_ntlmv2() argument
|
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsencrypt.c | 669 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response() 672 ses->server->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
|
H A D | cifsglob.h | 174 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlmssp */ member 709 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; /* used by ntlm, ntlmv2 etc */ member
|
H A D | sess.c | 979 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge()
|
H A D | cifssmb.c | 487 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, in CIFSSMBNegotiate()
|
Completed in 38 milliseconds