Home
last modified time | relevance | path

Searched refs:NTLM_HASH_SZ (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dntlm.c97 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()
254 uchar_t digest[NTLM_HASH_SZ]; in ntlm_put_v1x_responses()
414 HMACT64(v2hash, v1hash, NTLM_HASH_SZ, in ntlm_v2_hash()
470 HMACT64(ssn_key, v2hash, NTLM_HASH_SZ, ntresp, NTLM_HASH_SZ); in ntlm_v2_session_key()
488 uchar_t v2hash[NTLM_HASH_SZ]; in ntlm_put_v2_responses()
525 lmresp = mb_reserve(lm_mbp, NTLM_HASH_SZ); in ntlm_put_v2_responses()
664 uchar_t data[NTLM_HASH_SZ]; in ntlm2_kxkey()
672 HMACT64(kxkey, ssn_key, NTLM_HASH_SZ, in ntlm2_kxkey()
[all …]
H A Dntlmssp.c77 uchar_t ss_ssnkey[NTLM_HASH_SZ];
78 uchar_t ss_kxkey[NTLM_HASH_SZ];
409 uchar_t h_mic[NTLM_HASH_SZ]; in ntlmssp_put_type3()
460 memset(ssp_st->ss_ssnkey, 0, NTLM_HASH_SZ); in ntlmssp_put_type3()
461 memset(ssp_st->ss_kxkey, 0, NTLM_HASH_SZ); in ntlmssp_put_type3()
566 pmic = mb_reserve(out_mb, NTLM_HASH_SZ); in ntlmssp_put_type3()
607 encr_ssn_key = mb_reserve(ek_mbp, NTLM_HASH_SZ); in ntlm_rand_ssn_key()
614 ssp_st->ss_kxkey, NTLM_HASH_SZ, in ntlm_rand_ssn_key()
615 ssp_st->ss_ssnkey, NTLM_HASH_SZ); in ntlm_rand_ssn_key()
640 ctx->ct_ssnkey_buf = malloc(NTLM_HASH_SZ); in ntlmssp_final()
[all …]
H A Dctx.c159 static const char zeros[NTLM_HASH_SZ] = {0}; in dump_iod_ssn()
173 if (bcmp(zeros, &is->iod_nthash, NTLM_HASH_SZ)) in dump_iod_ssn()
174 smb_hexdump(&is->iod_nthash, NTLM_HASH_SZ); in dump_iod_ssn()
179 if (bcmp(zeros, &is->iod_lmhash, NTLM_HASH_SZ)) in dump_iod_ssn()
180 smb_hexdump(&is->iod_lmhash, NTLM_HASH_SZ); in dump_iod_ssn()
806 memcpy(ctx->ct_nthash, nthash, NTLM_HASH_SZ); in smb_ctx_setpwhash()
810 memcpy(ctx->ct_nthash, nthash, NTLM_HASH_SZ); in smb_ctx_setpwhash()
/illumos-gate/usr/src/lib/libsmbfs/netsmb/
H A Dsmb_lib.h73 #define NTLM_HASH_SZ SMBIOC_HASH_SZ macro
83 uchar_t iod_nthash[NTLM_HASH_SZ];
84 uchar_t iod_lmhash[NTLM_HASH_SZ];