Searched refs:id_p (Results 1 - 12 of 12) sorted by relevance

/external/ipsec-tools/src/racoon/
H A Disakmp_quick.c161 struct ipsecdoi_id_b *id, *id_p;
213 plogdump(LLV_DEBUG, iph2->id_p->v, iph2->id_p->l);
223 id_p = (struct ipsecdoi_id_b *)iph2->id_p->v;
225 && id_p->proto_id == 0
240 tlen += sizeof(*gen) + iph2->id_p->l;
275 p = set_isakmp_payload(p, iph2->id_p, ISAKMP_NPTYPE_NONE);
436 vp = iph2->id_p;
542 VPTRINIT(iph2->id_p);
160 struct ipsecdoi_id_b *id, *id_p; local
[all...]
H A Disakmp_ident.c579 VPTRINIT(iph1->id_p);
735 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
806 plogdump(LLV_DEBUG, iph1->id_p->v, iph1->id_p->l);
834 VPTRINIT(iph1->id_p);
1290 VPTRINIT(iph1->id_p);
1430 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
1483 if (iph1->id_p == NULL || iph1->pl_hash == NULL)
1492 if (iph1->id_p == NULL || iph1->sig_p == NULL)
1560 plogdump(LLV_DEBUG, iph1->id_p
[all...]
H A Dhandler.h171 vchar_t *id_p; /* partner's ID minus general header */ member in struct:ph1handle
299 vchar_t *id_p; /* peer's ID minus general header */ member in struct:ph2handle
H A Disakmp_base.c341 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
384 if (iph1->nonce_p == NULL || iph1->id_p == NULL) {
425 VPTRINIT(iph1->id_p);
862 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
910 if (iph1->nonce_p == NULL || iph1->id_p == NULL) {
949 VPTRINIT(iph1->id_p);
H A Doakley.c858 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
917 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1055 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
1076 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1176 + (sw == GENERATE ? iph1->id_p->l : iph1->id->l);
1202 bp = (sw == GENERATE ? iph1->id_p : iph1->id);
1262 if (iph1->id_p == NULL || iph1->pl_hash == NULL) {
1329 if (iph1->id_p == NULL) {
1397 iph1->cert_p = dnssec_getcert(iph1->id_p);
1605 if (iph1->id_p
[all...]
H A Disakmp_agg.c409 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
618 VPTRINIT(iph1->id_p);
859 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
972 VPTRINIT(iph1->id_p);
H A Dipsec_doi.c3593 * both of "id" and "id_p" should be ID payload without general header,
3603 if (iph1->id_p == NULL) {
3605 "invalid iph1 passed id_p == NULL\n");
3608 if (iph1->id_p->l < sizeof(*id_b)) {
3611 (u_long)iph1->id_p->l);
3615 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v;
3694 ident.v = iph1->id_p->v + sizeof(*id_b);
3695 ident.l = iph1->id_p->l - sizeof(*id_b);
3704 if (iph1->id_p->l - sizeof(*id_b) != sizeof(struct in_addr))
3712 if (iph1->id_p
[all...]
H A Disakmp.c3444 if (iph2->id_p != NULL
3445 && (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR
3446 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR
3447 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR_SUBNET
3448 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR_SUBNET)) {
3450 error = ipsecdoi_id2sockaddr(iph2->id_p,
3461 if (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR) {
3471 if (_XIDT(iph2->id_p) == idi2type
H A Dhandler.c358 VPTRINIT(iph1->id_p);
635 VPTRINIT(iph2->id_p);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
H A Deap_psk.c30 u8 *id_s, *id_p; member in struct:eap_psk_data
63 data->id_p = os_malloc(identity_len);
64 if (data->id_p)
65 os_memcpy(data->id_p, identity, identity_len);
68 if (data->id_p == NULL) {
82 os_free(data->id_p);
148 wpabuf_put_data(resp, data->id_p, data->id_p_len);
156 os_memcpy(buf, data->id_p, data->id_p_len);
173 data->id_p, data->id_p_len);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
H A Deap_psk.c30 u8 *id_p, *id_s; member in struct:eap_psk_data
56 os_free(data->id_p);
243 os_free(data->id_p);
244 data->id_p = os_malloc(left);
245 if (data->id_p == NULL) {
250 os_memcpy(data->id_p, cpos, left);
253 data->id_p, data->id_p_len);
255 if (eap_user_get(sm, data->id_p, data->id_p_len, 0) < 0) {
257 data->id_p, data->id_p_len);
277 data->id_p, dat
[all...]
/external/wpa_supplicant/
H A Deap_psk.c32 u8 *id_s, *id_p; member in struct:eap_psk_data
58 data->id_p = os_malloc(config->nai_len);
59 if (data->id_p)
60 os_memcpy(data->id_p, config->nai, config->nai_len);
63 if (data->id_p == NULL) {
77 os_free(data->id_p);
147 os_memcpy((u8 *) (hdr2 + 1), data->id_p, data->id_p_len);
155 os_memcpy(buf, data->id_p, data->id_p_len);

Completed in 124 milliseconds