Searched refs:SMBAUTH_HASH_SZ (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_auth.c | 49 uchar_t digest[SMBAUTH_HASH_SZ]; in smb_auth_ntlm2_mkchallenge() 85 ssn_base_key, SMBAUTH_HASH_SZ, result); in smb_auth_ntlm2_kxkey() 184 bzero(&S21[SMBAUTH_HASH_SZ], 5); in smb_auth_lm_response() 185 bcopy(hash, S21, SMBAUTH_HASH_SZ); in smb_auth_lm_response() 237 bcopy(hash, S21, SMBAUTH_HASH_SZ); in smb_auth_ntlm_response() 238 bzero(&S21[SMBAUTH_HASH_SZ], 5); in smb_auth_ntlm_response() 284 SMBAUTH_HASH_SZ, ntlmv2_hash); in smb_auth_ntlmv2_hash() 331 return (SMBAUTH_HASH_SZ + clen); in smb_auth_v2_response() 395 clnt_blob = &passwd[SMBAUTH_HASH_SZ]; in smb_ntlmv2_password_ok() 437 SMBAUTH_HASH_SZ, ntlmv2_hash, in smb_ntlmv2_password_ok() [all …]
|
H A D | smb_info.c | 59 uint8_t passwd[SMBAUTH_HASH_SZ]; 403 if (buflen < SMBAUTH_HASH_SZ) in smb_get_machine_passwd() 429 rc = smb_get_machine_passwd(ipc_info.passwd, SMBAUTH_HASH_SZ); in smb_ipc_init() 446 (void) memcpy(ipc_info.passwd, passwd_hash, SMBAUTH_HASH_SZ); in smb_ipc_set() 461 (void) smb_get_machine_passwd(ipc_info.passwd, SMBAUTH_HASH_SZ); in smb_ipc_commit() 491 if (buflen < SMBAUTH_HASH_SZ) in smb_ipc_get_passwd() 495 (void) memcpy(buf, ipc_info.passwd, SMBAUTH_HASH_SZ); in smb_ipc_get_passwd()
|
H A D | libsmb.h | 343 #define SMBAUTH_HASH_SZ 16 /* also LM/NTLM/NTLMv2 Hash size */ macro 347 #define SMBAUTH_SESSION_KEY_SZ SMBAUTH_HASH_SZ 348 #define SMBAUTH_HEXHASH_SZ (SMBAUTH_HASH_SZ * 2) 416 #define SMBAUTH_CS_MAXLEN (SMBAUTH_BLOB_MAXLEN + SMBAUTH_HASH_SZ) 440 unsigned char hash[SMBAUTH_HASH_SZ]; 441 unsigned char hash_v2[SMBAUTH_HASH_SZ]; 462 uint8_t pw_lmhash[SMBAUTH_HASH_SZ]; 463 uint8_t pw_nthash[SMBAUTH_HASH_SZ];
|
H A D | smb_pwdutil.c | 657 (char *)pw->pw_lmhash, SMBAUTH_HASH_SZ); in smb_pwd_fgetent() 667 (char *)pw->pw_nthash, SMBAUTH_HASH_SZ); in smb_pwd_fgetent() 741 (void) bintohex((char *)pw->pw_lmhash, SMBAUTH_HASH_SZ, in smb_pwd_fputent() 749 (void) bintohex((char *)pw->pw_nthash, SMBAUTH_HASH_SZ, in smb_pwd_fputent()
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_ntlmssp.c | 407 unsigned char kxkey[SMBAUTH_HASH_SZ]; in smbd_ntlmssp_authenticate() 499 token->tkn_ssnkey.len == SMBAUTH_HASH_SZ) { in smbd_ntlmssp_authenticate() 514 SMBAUTH_HASH_SZ); in smbd_ntlmssp_authenticate() 524 SMBAUTH_HASH_SZ, kxkey, SMBAUTH_HASH_SZ, in smbd_ntlmssp_authenticate() 529 SMBAUTH_HASH_SZ); in smbd_ntlmssp_authenticate()
|
H A D | smbd_krb5ssp.c | 374 if ((keylen = data_set->elements[0].length) < SMBAUTH_HASH_SZ) { in get_ssnkey()
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samlib.c | 263 unsigned char ssn_key[SMBAUTH_HASH_SZ]; in netr_set_user_password() 266 if (ndr_rpc_get_ssnkey(user_handle, ssn_key, SMBAUTH_HASH_SZ)) in netr_set_user_password()
|
H A D | netr_auth.c | 454 unsigned char ntlmhash[SMBAUTH_HASH_SZ]; in netr_gen_skey128() 463 bzero(ntlmhash, SMBAUTH_HASH_SZ); in netr_gen_skey128() 519 rc = smb_auth_hmac_md5(md5digest, diglen, ntlmhash, SMBAUTH_HASH_SZ, in netr_gen_skey128()
|
H A D | smbrdr_glue.c | 110 uchar_t nthash[SMBAUTH_HASH_SZ]; in smbrdr_ctx_new()
|
H A D | mlsvc_util.c | 96 static unsigned char zero_hash[SMBAUTH_HASH_SZ]; in mlsvc_join() 99 unsigned char passwd_hash[SMBAUTH_HASH_SZ]; in mlsvc_join()
|