Lines Matching refs:NTLM_HASH_SZ
77 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()
475 memcpy(ssp_st->ss_kxkey, ssp_st->ss_ssnkey, NTLM_HASH_SZ); in ntlmssp_put_type3()
500 memcpy(ssp_st->ss_kxkey, ssp_st->ss_ssnkey, NTLM_HASH_SZ); in ntlmssp_put_type3()
513 memcpy(ssp_st->ss_ssnkey, ssp_st->ss_kxkey, 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()
610 (void) smb_get_urandom(ssp_st->ss_ssnkey, NTLM_HASH_SZ); in ntlm_rand_ssn_key()
613 err = smb_encrypt_RC4(encr_ssn_key, 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()
645 ctx->ct_ssnkey_len = NTLM_HASH_SZ; in ntlmssp_final()
646 memcpy(ctx->ct_ssnkey_buf, ssp_st->ss_ssnkey, NTLM_HASH_SZ); in ntlmssp_final()