Lines Matching refs:ntlm
819 heim_ntlm_free_buf(&data->ntlm); in heim_ntlm_free_type3()
843 struct sec_buffer lm, ntlm, target, username, sessionkey, ws; in heim_ntlm_decode_type3() local
863 CHECK(ret_sec_buffer(in, &ntlm), 0); in heim_ntlm_decode_type3()
864 if (ntlm.allocated) in heim_ntlm_decode_type3()
865 min_offset = min(min_offset, ntlm.offset); in heim_ntlm_decode_type3()
886 CHECK(ret_buf(in, &ntlm, &type3->ntlm), 0); in heim_ntlm_decode_type3()
918 struct sec_buffer lm, ntlm, target, username, sessionkey, ws; in heim_ntlm_encode_type3() local
925 memset(&ntlm, 0, sizeof(ntlm)); in heim_ntlm_encode_type3()
959 ntlm.offset = lm.offset + lm.allocated; in heim_ntlm_encode_type3()
960 ntlm.length = type3->ntlm.length; in heim_ntlm_encode_type3()
961 ntlm.allocated = ntlm.length; in heim_ntlm_encode_type3()
963 sessionkey.offset = ntlm.offset + ntlm.allocated; in heim_ntlm_encode_type3()
977 CHECK(store_sec_buffer(out, &ntlm), 0); in heim_ntlm_encode_type3()
993 CHECK(put_buf(out, &type3->ntlm), 0); in heim_ntlm_encode_type3()
1733 struct ntlm_buf *ntlm) in heim_ntlm_calculate_ntlm2_sess() argument
1751 ntlm->data = malloc(24); in heim_ntlm_calculate_ntlm2_sess()
1752 if (ntlm->data == NULL) { in heim_ntlm_calculate_ntlm2_sess()
1757 ntlm->length = 24; in heim_ntlm_calculate_ntlm2_sess()
1766 resp = ntlm->data; in heim_ntlm_calculate_ntlm2_sess()
1780 heim_ntlm_free_buf(ntlm); in heim_ntlm_calculate_ntlm2_sess()