Lines Matching defs:packet
22 krb5_data *packet)
43 packet->length = 6 + ap_req->length + cipherpw.length;
44 packet->data = (char *) malloc(packet->length);
45 if (packet->data == NULL)
50 ptr = packet->data;
54 *ptr++ = (packet->length>> 8) & 0xff;
55 *ptr++ = packet->length & 0xff;
87 krb5int_rd_chpw_rep(krb5_context context, krb5_auth_context auth_context, krb5_data *packet, int *result_code, krb5_data *result_data)
101 if (packet->length < 4)
106 ptr = packet->data;
113 if (plen != packet->length)
120 if (krb5_is_krb_error(packet)) {
122 if ((ret = krb5_rd_error(context, packet, &krberror)))
155 if (ptr + ap_rep.length >= packet->data + packet->length)
181 cipherresult.length = (packet->data + packet->length) - ptr;
198 cipherresult.length = (packet->data + packet->length) - ptr;