Searched refs:SMBAUTH_HASH_SZ (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_auth.c105 return (smb_auth_DES(lm_hash, SMBAUTH_HASH_SZ, lm_pwd,
130 bzero(&S21[SMBAUTH_HASH_SZ], 5);
131 bcopy(hash, S21, SMBAUTH_HASH_SZ);
181 bcopy(hash, S21, SMBAUTH_HASH_SZ);
182 bzero(&S21[SMBAUTH_HASH_SZ], 5);
359 SMBAUTH_HASH_SZ, ntlmv2_hash);
400 SMBAUTH_HASH_SZ, (unsigned char *)v2_rsp) != SMBAUTH_SUCCESS)
402 (void) memcpy(&v2_rsp[SMBAUTH_HASH_SZ], clnt_data, clen);
405 return (SMBAUTH_HASH_SZ + clen);
448 (void) memcpy(auth->hash, ntlm_hash, SMBAUTH_HASH_SZ);
[all...]
H A Dsmb_info.c56 uint8_t passwd_hash[SMBAUTH_HASH_SZ]; /* password hash */
438 if (buflen < SMBAUTH_HASH_SZ)
464 rc = smb_get_machine_passwd_hash(ipc_info.passwd_hash, SMBAUTH_HASH_SZ);
481 unsigned char passwd_hash[SMBAUTH_HASH_SZ];
488 (void) memcpy(ipc_info.passwd_hash, passwd_hash, SMBAUTH_HASH_SZ);
505 SMBAUTH_HASH_SZ);
545 if (buflen < SMBAUTH_HASH_SZ)
549 (void) memcpy(buf, ipc_info.passwd_hash, SMBAUTH_HASH_SZ);
H A Dlibsmb.h507 #define SMBAUTH_HASH_SZ 16 /* LM/NTLM/NTLMv2 hash size */ macro
522 #define SMBAUTH_HEXHASH_SZ (SMBAUTH_HASH_SZ * 2)
600 #define SMBAUTH_CS_MAXLEN (SMBAUTH_BLOB_MAXLEN + SMBAUTH_HASH_SZ)
624 unsigned char hash[SMBAUTH_HASH_SZ];
625 unsigned char hash_v2[SMBAUTH_HASH_SZ];
646 uint8_t pw_lmhash[SMBAUTH_HASH_SZ];
647 uint8_t pw_nthash[SMBAUTH_HASH_SZ];
H A Dsmb_pwdutil.c605 (char *)pw->pw_lmhash, SMBAUTH_HASH_SZ);
615 (char *)pw->pw_nthash, SMBAUTH_HASH_SZ);
689 (void) bintohex((char *)pw->pw_lmhash, SMBAUTH_HASH_SZ,
697 (void) bintohex((char *)pw->pw_nthash, SMBAUTH_HASH_SZ,
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_pwdutil.c388 (char *)pw->pw_lmhash, SMBAUTH_HASH_SZ);
396 (char *)pw->pw_nthash, SMBAUTH_HASH_SZ);
416 (void) bintohex((char *)pw->pw_lmhash, SMBAUTH_HASH_SZ,
420 (void) bintohex((char *)pw->pw_nthash, SMBAUTH_HASH_SZ,
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dnetr_clnt.c567 unsigned char ntlmhash[SMBAUTH_HASH_SZ];
576 bzero(ntlmhash, SMBAUTH_HASH_SZ);
623 rc = smb_auth_hmac_md5(md5digest, diglen, ntlmhash, SMBAUTH_HASH_SZ,
H A Dntsvcs_clnt.c285 uchar_t nthash[SMBAUTH_HASH_SZ];

Completed in 45 milliseconds