Searched refs:NTLM_HASH_SZ (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_lib.h71 #define NTLM_HASH_SZ SMBIOC_HASH_SZ macro
86 uchar_t iod_nthash[NTLM_HASH_SZ];
87 uchar_t iod_lmhash[NTLM_HASH_SZ];
195 uchar_t pw_lmhash[NTLM_HASH_SZ]; /* LanMan p/w hash */
196 uchar_t pw_nthash[NTLM_HASH_SZ]; /* NTLM p/w hash */
H A Dsmbfs_ntlm.c96 err = smbfs_encrypt_DES(hash, NTLM_HASH_SZ,
156 bcopy(hash, S21, NTLM_HASH_SZ);
173 MD4Update(&md4, nt_hash, NTLM_HASH_SZ);
242 unsigned char ntlm2_nonce[NTLM_HASH_SZ];
279 err = smb_auth_ntlm2_session_response(ntlm2_nonce, NTLM_HASH_SZ,
280 ctx->ct_nthash, NTLM_HASH_SZ, ntresp, NTLM_V1_RESP_SZ);
399 smbfs_HMACT64(v2hash, v1hash, NTLM_HASH_SZ,
439 smbfs_HMACT64(rhash, v2hash, NTLM_HASH_SZ, data, dlen);
455 smbfs_HMACT64(ssn_key, v2hash, NTLM_HASH_SZ, ntresp, NTLM_HASH_SZ);
[all...]
H A Dsmbfs_ssnsetup.c151 ctx->ct_mackeylen = NTLM_HASH_SZ + m->m_len;
159 (void) memcpy(p, ctx->ct_ssn_key, NTLM_HASH_SZ);
160 (void) memcpy(p + NTLM_HASH_SZ, m->m_data, m->m_len);
232 ctx->ct_mackeylen = NTLM_HASH_SZ + m->m_len;
240 (void) memcpy(p, ctx->ct_ssn_key, NTLM_HASH_SZ);
241 (void) memcpy(p + NTLM_HASH_SZ, m->m_data, m->m_len);
H A Dsmbfs_util.c581 static const char zeros[NTLM_HASH_SZ] = {0};
593 if (bcmp(zeros, &is->iod_nthash, NTLM_HASH_SZ))
594 smbfs_hexdump(&is->iod_nthash, NTLM_HASH_SZ);
599 if (bcmp(zeros, &is->iod_lmhash, NTLM_HASH_SZ))
600 smbfs_hexdump(&is->iod_lmhash, NTLM_HASH_SZ);
H A Dsmbfs_ntlmssp.c542 ctx->ct_mackeylen = NTLM_HASH_SZ;
549 (void) memcpy(ctx->ct_mackey, ctx->ct_ssn_key, NTLM_HASH_SZ);
H A Dsmbfs_ctx.c649 (void) memcpy(ctx->ct_nthash, nthash, NTLM_HASH_SZ);
653 (void) memcpy(ctx->ct_lmhash, lmhash, NTLM_HASH_SZ);

Completed in 32 milliseconds