Searched refs:SMBAUTH_LM_RESP_SZ (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_auth.c | 133 return (smb_auth_DES(lm_rsp, SMBAUTH_LM_RESP_SZ, S21, 21, in smb_auth_lm_response() 184 if (smb_auth_DES((unsigned char *)ntlm_rsp, SMBAUTH_LM_RESP_SZ, in smb_auth_ntlm_response() 187 return (SMBAUTH_LM_RESP_SZ); in smb_auth_ntlm_response() 315 unsigned char lm_resp[SMBAUTH_LM_RESP_SZ]; in smb_lm_password_ok() 322 return (bcmp(lm_resp, passwd, SMBAUTH_LM_RESP_SZ) == 0); in smb_lm_password_ok() 333 unsigned char ntlm_resp[SMBAUTH_LM_RESP_SZ]; in smb_ntlm_password_ok() 338 if (rc != SMBAUTH_LM_RESP_SZ) in smb_ntlm_password_ok() 341 ok = (bcmp(ntlm_resp, passwd, SMBAUTH_LM_RESP_SZ) == 0); in smb_ntlm_password_ok() 438 unsigned char lmv2_resp[SMBAUTH_LM_RESP_SZ]; in smb_lmv2_password_ok() 477 ok = (bcmp(passwd, lmv2_resp, SMBAUTH_LM_RESP_SZ) == 0); in smb_lmv2_password_ok() [all …]
|
H A D | libsmb.h | 304 #define SMBAUTH_LM_RESP_SZ 24 /* also NTLM Response size */ macro 374 #define SMBAUTH_CI_MAXLEN SMBAUTH_LM_RESP_SZ
|