Lines Matching refs:conv_len
127 int ret, len, conv_len; in calc_ntlmv2_hash() local
160 conv_len = smb_strtoUTF16(uniname, user_name(sess->user), len, in calc_ntlmv2_hash()
162 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
170 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
184 conv_len = smb_strtoUTF16((__le16 *)domain, dname, len, in calc_ntlmv2_hash()
186 if (conv_len < 0 || conv_len > len) { in calc_ntlmv2_hash()
193 UNICODE_LEN(conv_len)); in calc_ntlmv2_hash()
412 int len, uni_len, conv_len; in ksmbd_build_ntlmssp_challenge_blob() local
450 conv_len = smb_strtoUTF16((__le16 *)name, ksmbd_netbios_name(), len, in ksmbd_build_ntlmssp_challenge_blob()
452 if (conv_len < 0 || conv_len > len) { in ksmbd_build_ntlmssp_challenge_blob()
457 uni_len = UNICODE_LEN(conv_len); in ksmbd_build_ntlmssp_challenge_blob()