Home
last modified time | relevance | path

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

/fs/cifs/
Dcifsencrypt.c232 unsigned int i, user_name_len, dom_name_len; in CalcNTLMv2_partial_mac_key() local
240 user_name_len = strlen(ses->userName); in CalcNTLMv2_partial_mac_key()
241 if (user_name_len > MAX_USERNAME_SIZE) in CalcNTLMv2_partial_mac_key()
258 for (i = 0; i < user_name_len; i++) in CalcNTLMv2_partial_mac_key()
261 user_name_len = cifs_strtoUCS(unicode_buf, ucase_buf, in CalcNTLMv2_partial_mac_key()
263 unicode_buf[user_name_len] = 0; in CalcNTLMv2_partial_mac_key()
264 user_name_len++; in CalcNTLMv2_partial_mac_key()
269 dom_name_len = cifs_strtoUCS(unicode_buf+user_name_len, ucase_buf, in CalcNTLMv2_partial_mac_key()
272 unicode_buf[user_name_len + dom_name_len] = 0; in CalcNTLMv2_partial_mac_key()
274 (user_name_len+dom_name_len)*2, &ctx); in CalcNTLMv2_partial_mac_key()