Home
last modified time | relevance | path

Searched refs:id_p (Results 1 – 15 of 15) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_quick.c160 struct ipsecdoi_id_b *id, *id_p; local
212 plogdump(LLV_DEBUG, iph2->id_p->v, iph2->id_p->l);
222 id_p = (struct ipsecdoi_id_b *)iph2->id_p->v;
224 && id_p->proto_id == 0
239 tlen += sizeof(*gen) + iph2->id_p->l;
274 p = set_isakmp_payload(p, iph2->id_p, ISAKMP_NPTYPE_NONE);
435 vp = iph2->id_p;
541 VPTRINIT(iph2->id_p);
923 iph2->id_p = NULL;
965 if (iph2->id_p == NULL) {
[all …]
Disakmp_ident.c555 VPTRINIT(iph1->id_p);
711 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
782 plogdump(LLV_DEBUG, iph1->id_p->v, iph1->id_p->l);
810 VPTRINIT(iph1->id_p);
1242 VPTRINIT(iph1->id_p);
1382 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
1435 if (iph1->id_p == NULL || iph1->pl_hash == NULL)
1444 if (iph1->id_p == NULL || iph1->sig_p == NULL)
1512 plogdump(LLV_DEBUG, iph1->id_p->v, iph1->id_p->l);
1537 VPTRINIT(iph1->id_p);
Disakmp_base.c341 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
357 if (iph1->nonce_p == NULL || iph1->id_p == NULL) {
398 VPTRINIT(iph1->id_p);
835 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
856 if (iph1->nonce_p == NULL || iph1->id_p == NULL) {
895 VPTRINIT(iph1->id_p);
Dhandler.h171 vchar_t *id_p; /* partner's ID minus general header */ member
299 vchar_t *id_p; /* peer's ID minus general header */ member
Doakley.c865 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
924 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1062 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
1083 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1183 + (sw == GENERATE ? iph1->id_p->l : iph1->id->l);
1209 bp = (sw == GENERATE ? iph1->id_p : iph1->id);
1269 if (iph1->id_p == NULL || iph1->pl_hash == NULL) {
1336 if (iph1->id_p == NULL) {
1404 iph1->cert_p = dnssec_getcert(iph1->id_p);
1612 if (iph1->id_p == NULL || iph1->pl_hash == NULL) {
[all …]
Disakmp_agg.c409 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
591 VPTRINIT(iph1->id_p);
832 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0)
915 VPTRINIT(iph1->id_p);
Dipsec_doi.c3607 if (iph1->id_p == NULL) {
3612 if (iph1->id_p->l < sizeof(*id_b)) {
3615 (u_long)iph1->id_p->l);
3619 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v;
3698 ident.v = iph1->id_p->v + sizeof(*id_b);
3699 ident.l = iph1->id_p->l - sizeof(*id_b);
3708 if (iph1->id_p->l - sizeof(*id_b) != sizeof(struct in_addr))
3716 if (iph1->id_p->l - sizeof(*id_b) != sizeof(struct in6_addr))
4081 iph2->id_p = ipsecdoi_sockaddr2id((struct sockaddr *)&sp->spidx.dst,
4083 if (iph2->id_p == NULL) {
[all …]
Disakmp.c3448 if (iph2->id_p != NULL
3449 && (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR
3450 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR
3451 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR_SUBNET
3452 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR_SUBNET)) {
3454 error = ipsecdoi_id2sockaddr(iph2->id_p,
3465 if (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR) {
3475 if (_XIDT(iph2->id_p) == idi2type
Dhandler.c358 VPTRINIT(iph1->id_p);
635 VPTRINIT(iph2->id_p);
/external/wpa_supplicant_8/src/eap_server/
Deap_server_psk.c25 u8 *id_p; member
49 os_free(data->id_p); in eap_psk_reset()
238 os_free(data->id_p); in eap_psk_process_2()
239 data->id_p = os_malloc(left); in eap_psk_process_2()
240 if (data->id_p == NULL) { in eap_psk_process_2()
245 os_memcpy(data->id_p, cpos, left); in eap_psk_process_2()
248 data->id_p, data->id_p_len); in eap_psk_process_2()
250 if (eap_user_get(sm, data->id_p, data->id_p_len, 0) < 0) { in eap_psk_process_2()
252 data->id_p, data->id_p_len); in eap_psk_process_2()
272 data->id_p, data->id_p_len); in eap_psk_process_2()
[all …]
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.h87 const u8 *id_s, size_t id_s_len, const u8 *id_p,
95 const u8 *id_p, size_t id_p_len);
98 const u8 *id_p, size_t id_p_len,
102 const u8 *id_p, size_t id_p_len,
Deap_eke_common.c333 const u8 *id_s, size_t id_s_len, const u8 *id_p, in eap_eke_derive_key() argument
354 os_memcpy(id + id_s_len, id_p, id_p_len); in eap_eke_derive_key()
454 const u8 *id_p, size_t id_p_len) in eap_eke_derive_ke_ki() argument
489 os_memcpy(data + label_len + id_s_len, id_p, id_p_len); in eap_eke_derive_ke_ki()
508 const u8 *id_p, size_t id_p_len, in eap_eke_derive_ka() argument
533 os_memcpy(pos, id_p, id_p_len); in eap_eke_derive_ka()
553 const u8 *id_p, size_t id_p_len, in eap_eke_derive_msk() argument
578 os_memcpy(pos, id_p, id_p_len); in eap_eke_derive_msk()
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c26 u8 *id_s, *id_p; member
59 data->id_p = os_malloc(identity_len); in eap_psk_init()
60 if (data->id_p) in eap_psk_init()
61 os_memcpy(data->id_p, identity, identity_len); in eap_psk_init()
64 if (data->id_p == NULL) { in eap_psk_init()
78 os_free(data->id_p); in eap_psk_deinit()
145 wpabuf_put_data(resp, data->id_p, data->id_p_len); in eap_psk_process_1()
153 os_memcpy(buf, data->id_p, data->id_p_len); in eap_psk_process_1()
170 data->id_p, data->id_p_len); in eap_psk_process_1()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DCertPathValidatorUtilities.java509 String id_p, in prepareNextCertB1() argument
520 if (node.getValidPolicy().equals(id_p)) in prepareNextCertB1()
523 node.expectedPolicies = (Set)m_idp.get(id_p); in prepareNextCertB1()
584 (Set)m_idp.get(id_p), in prepareNextCertB1()
585 p_node, pq, id_p, ci); in prepareNextCertB1()
598 String id_p, in prepareNextCertB2() argument
605 if (node.getValidPolicy().equals(id_p)) in prepareNextCertB2()
DRFC3280CertPathUtilities.java924 String id_p = ((ASN1ObjectIdentifier)mapping.getObjectAt(0)).getId(); in prepareCertB() local
928 if (!m_idp.containsKey(id_p)) in prepareCertB()
932 m_idp.put(id_p, tmp); in prepareCertB()
933 s_idp.add(id_p); in prepareCertB()
937 tmp = (Set)m_idp.get(id_p); in prepareCertB()
945 String id_p = (String)it_idp.next(); in prepareCertB() local
957 if (node.getValidPolicy().equals(id_p)) in prepareCertB()
960 node.expectedPolicies = (Set)m_idp.get(id_p); in prepareCertB()
1026 .get(id_p), p_node, pq, id_p, ci); in prepareCertB()
1045 if (node.getValidPolicy().equals(id_p)) in prepareCertB()