Home
last modified time | relevance | path

Searched refs:ntlmv2 (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
H A Dcifsencrypt.c399 * as part of ntlmv2 authentication (in Target String), if not already
455 * as part of ntlmv2 authentication (or local current time as
507 cifs_dbg(VFS, "%s: can't generate ntlmv2 hash\n", __func__); in calc_ntlmv2_hash()
604 struct ntlmv2_resp *ntlmv2 = (struct ntlmv2_resp *) in CalcNTLMv2_response() local
613 cifs_dbg(VFS, "%s: can't generate ntlmv2 hash\n", __func__); in CalcNTLMv2_response()
632 memcpy(ntlmv2->challenge.key, in CalcNTLMv2_response()
635 memcpy(ntlmv2->challenge.key, in CalcNTLMv2_response()
638 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
646 ntlmv2->ntlmv2_hash); in CalcNTLMv2_response()
659 struct ntlmv2_resp *ntlmv2; in setup_ntlmv2_rsp() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcifsencrypt.c435 * as part of ntlmv2 authentication (in Target String), if not already
491 * as part of ntlmv2 authentication (or local current time as
543 cifs_dbg(VFS, "%s: can't generate ntlmv2 hash\n", __func__); in calc_ntlmv2_hash()
640 struct ntlmv2_resp *ntlmv2 = (struct ntlmv2_resp *) in CalcNTLMv2_response() local
649 cifs_dbg(VFS, "%s: can't generate ntlmv2 hash\n", __func__); in CalcNTLMv2_response()
668 memcpy(ntlmv2->challenge.key, in CalcNTLMv2_response()
671 memcpy(ntlmv2->challenge.key, in CalcNTLMv2_response()
674 ntlmv2->challenge.key, hash_len); in CalcNTLMv2_response()
682 ntlmv2->ntlmv2_hash); in CalcNTLMv2_response()
695 struct ntlmv2_resp *ntlmv2; in setup_ntlmv2_rsp() local
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dauth.h43 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name,
H A Dauth.c134 ksmbd_debug(AUTH, "can't generate ntlmv2 hash\n"); in calc_ntlmv2_hash()
212 * @ntlmv2: NTLMv2 challenge response
219 struct ntlmv2_resp *ntlmv2, int blen, char *domain_name, in ksmbd_auth_ntlmv2()
262 memcpy(construct + CIFS_CRYPTO_KEY_SIZE, &ntlmv2->blob_signature, blen); in ksmbd_auth_ntlmv2()
284 if (memcmp(ntlmv2->ntlmv2_hash, ntlmv2_rsp, CIFS_HMAC_MD5_HASH_SIZE) != 0) in ksmbd_auth_ntlmv2()
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

Completed in 4 milliseconds