Lines Matching refs:nls_cp
265 int setup_ntlm_response(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlm_response() argument
281 ses->auth_key.response + CIFS_SESS_KEY_SIZE, nls_cp); in setup_ntlm_response()
288 rc = E_md4hash(ses->password, temp_key, nls_cp); in setup_ntlm_response()
346 build_avpair_blob(struct cifs_ses *ses, const struct nls_table *nls_cp) in build_avpair_blob() argument
385 cifs_strtoUTF16((__le16 *)blobptr, ses->domainName, dlen, nls_cp); in build_avpair_blob()
401 find_domain_name(struct cifs_ses *ses, const struct nls_table *nls_cp) in find_domain_name() argument
436 nls_cp, NO_MAP_UNI_RSVD); in find_domain_name()
491 const struct nls_table *nls_cp) in calc_ntlmv2_hash() argument
506 E_md4hash(ses->password, nt_hash, nls_cp); in calc_ntlmv2_hash()
530 len = cifs_strtoUTF16(user, ses->user_name, len, nls_cp); in calc_ntlmv2_hash()
554 nls_cp); in calc_ntlmv2_hash()
574 nls_cp); in calc_ntlmv2_hash()
648 setup_ntlmv2_rsp(struct cifs_ses *ses, const struct nls_table *nls_cp) in setup_ntlmv2_rsp() argument
661 rc = find_domain_name(ses, nls_cp); in setup_ntlmv2_rsp()
672 rc = build_avpair_blob(ses, nls_cp); in setup_ntlmv2_rsp()
718 rc = calc_ntlmv2_hash(ses, ntlmv2_hash, nls_cp); in setup_ntlmv2_rsp()