Lines Matching refs:conv_len
126 int ret, len, conv_len; in calc_ntlmv2_hash() local
159 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()
161 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
169 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
183 conv_len = smb_strtoUTF16((__le16 *)domain, dname, len, in calc_ntlmv2_hash()
185 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
192 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
384 int len, uni_len, conv_len; in ksmbd_build_ntlmssp_challenge_blob() local
416 conv_len = smb_strtoUTF16((__le16 *)name, ksmbd_netbios_name(), len, in ksmbd_build_ntlmssp_challenge_blob()
418 if (conv_len < 0 || conv_len > len) { in ksmbd_build_ntlmssp_challenge_blob()
423 uni_len = UNICODE_LEN(conv_len); in ksmbd_build_ntlmssp_challenge_blob()