Home
last modified time | relevance | path

Searched refs:cryptkey (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A 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()
H A 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
H A Dcifsproto.h506 extern int calc_lanman_hash(const char *password, const char *cryptkey,
H A Dsess.c590 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 Dconnect.c4882 calc_lanman_hash(tcon->password, ses->server->cryptkey, in CIFSTCon()
4888 rc = SMBNTencrypt(tcon->password, ses->server->cryptkey, in CIFSTCon()
H A Dcifssmb.c555 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 Dauth.h44 char *cryptkey);
H A Dntlmssp.h167 char cryptkey[CIFS_CRYPTO_KEY_SIZE]; member
H A Dauth.c220 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 Dcifsencrypt.c669 ses->ntlmssp->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
672 ses->server->cryptkey, CIFS_SERVER_CHALLENGE_SIZE); in CalcNTLMv2_response()
H A Dcifsglob.h174 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 Dsess.c979 memcpy(ses->ntlmssp->cryptkey, pblob->Challenge, CIFS_CRYPTO_KEY_SIZE); in decode_ntlmssp_challenge()
H A Dcifssmb.c487 memcpy(ses->server->cryptkey, pSMBr->u.EncryptionKey, in CIFSSMBNegotiate()

Completed in 38 milliseconds