Searched refs:NTLM_HASH_SZ (Results 1 – 4 of 4) sorted by relevance
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | ntlm.c | 97 err = smb_encrypt_DES(hash, NTLM_HASH_SZ, in ntlm_compute_lm_hash() 159 bcopy(hash, S21, NTLM_HASH_SZ); in ntlm_v1_response() 176 MD4Update(&md4, nt_hash, NTLM_HASH_SZ); in ntlm_v1_session_key() 252 uchar_t digest[NTLM_HASH_SZ]; in ntlm_put_v1x_responses() 412 HMACT64(v2hash, v1hash, NTLM_HASH_SZ, in ntlm_v2_hash() 452 HMACT64(rhash, v2hash, NTLM_HASH_SZ, data, dlen); in ntlm_v2_resp_hash() 468 HMACT64(ssn_key, v2hash, NTLM_HASH_SZ, ntresp, NTLM_HASH_SZ); in ntlm_v2_session_key() 485 uchar_t v2hash[NTLM_HASH_SZ]; in ntlm_put_v2_responses() 522 lmresp = mb_reserve(lm_mbp, NTLM_HASH_SZ); in ntlm_put_v2_responses() 539 ntresp = mb_reserve(nt_mbp, NTLM_HASH_SZ); in ntlm_put_v2_responses() [all …]
|
H A D | ntlmssp.c | 77 uchar_t ss_kxkey[NTLM_HASH_SZ]; 411 uchar_t h_mic[NTLM_HASH_SZ]; in ntlmssp_put_type3() 472 memcpy(ssp_st->ss_kxkey, ctx->ct_ssn_key, NTLM_HASH_SZ); in ntlmssp_put_type3() 494 memcpy(ssp_st->ss_kxkey, ctx->ct_ssn_key, NTLM_HASH_SZ); in ntlmssp_put_type3() 508 memcpy(ctx->ct_ssn_key, ssp_st->ss_kxkey, NTLM_HASH_SZ); in ntlmssp_put_type3() 561 pmic = mb_reserve(out_mb, NTLM_HASH_SZ); in ntlmssp_put_type3() 603 encr_ssn_key = mb_reserve(ek_mbp, NTLM_HASH_SZ); in ntlm_rand_ssn_key() 606 (void) smb_get_urandom(ctx->ct_ssn_key, NTLM_HASH_SZ); in ntlm_rand_ssn_key() 609 err = smb_encrypt_RC4(encr_ssn_key, NTLM_HASH_SZ, in ntlm_rand_ssn_key() 610 ssp_st->ss_kxkey, NTLM_HASH_SZ, in ntlm_rand_ssn_key() [all …]
|
H A D | ctx.c | 163 static const char zeros[NTLM_HASH_SZ] = {0}; in dump_iod_ssn() 175 if (bcmp(zeros, &is->iod_nthash, NTLM_HASH_SZ)) in dump_iod_ssn() 176 smb_hexdump(&is->iod_nthash, NTLM_HASH_SZ); in dump_iod_ssn() 181 if (bcmp(zeros, &is->iod_lmhash, NTLM_HASH_SZ)) in dump_iod_ssn() 182 smb_hexdump(&is->iod_lmhash, NTLM_HASH_SZ); in dump_iod_ssn() 815 memcpy(ctx->ct_nthash, nthash, NTLM_HASH_SZ); in smb_ctx_setpwhash() 819 memcpy(ctx->ct_nthash, nthash, NTLM_HASH_SZ); in smb_ctx_setpwhash()
|
/titanic_41/usr/src/lib/libsmbfs/netsmb/ |
H A D | smb_lib.h | 73 #define NTLM_HASH_SZ SMBIOC_HASH_SZ macro 83 uchar_t iod_nthash[NTLM_HASH_SZ]; 84 uchar_t iod_lmhash[NTLM_HASH_SZ];
|