Lines Matching defs:type2
131 struct ntlm_type2 type2;
136 _gss_mg_log(1, "ntlm-asc-type2");
138 memset(&type2, 0, sizeof(type2));
140 type2.flags = NTLM_NEG_UNICODE | NTLM_NEG_NTLM;
148 memcpy(type2.challenge, c->challenge, sizeof(type2.challenge));
150 type2.flags |=
162 type2.os[0] = 0x0601b01d;
163 type2.os[1] = 0x0000000f;
174 type2.flags &= ~negNtlmFlags;
196 type2.targetinfo = c->targetinfo;
197 type2.targetname = c->ti.domainname;
200 if (type2.targetname == NULL)
201 type2.targetname = "BUILTIN";
203 ret = heim_ntlm_encode_type2(&type2, &data);
212 *ret_flags = type2.flags;
331 _gss_mg_log(1, "ntlm-asc-type2 failed with: %d", (int)major_status);
340 _gss_mg_log(1, "ntlm-asc-type2 failed with no packet");
347 ret = krb5_data_copy(&ctx->type2, out.data, out.length);
351 _gss_mg_log(1, "ntlm-asc-type2 failed to copy type2 packet");
437 CCHmacUpdate(&c, ctx->type2.data, ctx->type2.length);