Home
last modified time | relevance | path

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

/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/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);
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
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);
Doakley.c861 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
920 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1058 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l);
1079 bp = (sw == GENERATE ? iph1->id : iph1->id_p);
1179 + (sw == GENERATE ? iph1->id_p->l : iph1->id->l);
1205 bp = (sw == GENERATE ? iph1->id_p : iph1->id);
1265 if (iph1->id_p == NULL || iph1->pl_hash == NULL) {
1332 if (iph1->id_p == NULL) {
1400 iph1->cert_p = dnssec_getcert(iph1->id_p);
1608 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.c3603 if (iph1->id_p == NULL) {
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->l - sizeof(*id_b) != sizeof(struct in6_addr))
4067 iph2->id_p = ipsecdoi_sockaddr2id((struct sockaddr *)&sp->spidx.dst,
4069 if (iph2->id_p == NULL) {
[all …]
Disakmp.c3447 if (iph2->id_p != NULL
3448 && (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR
3449 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR
3450 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR_SUBNET
3451 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR_SUBNET)) {
3453 error = ipsecdoi_id2sockaddr(iph2->id_p,
3464 if (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR) {
3474 if (_XIDT(iph2->id_p) == idi2type
Dhandler.c358 VPTRINIT(iph1->id_p);
635 VPTRINIT(iph2->id_p);
/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.java530 String id_p, in prepareNextCertB1() argument
541 if (node.getValidPolicy().equals(id_p)) in prepareNextCertB1()
544 node.expectedPolicies = (Set)m_idp.get(id_p); in prepareNextCertB1()
605 (Set)m_idp.get(id_p), in prepareNextCertB1()
606 p_node, pq, id_p, ci); in prepareNextCertB1()
619 String id_p, in prepareNextCertB2() argument
626 if (node.getValidPolicy().equals(id_p)) in prepareNextCertB2()
DRFC3280CertPathUtilities.java894 String id_p = ((DERObjectIdentifier)mapping.getObjectAt(0)).getId(); in prepareCertB() local
898 if (!m_idp.containsKey(id_p)) in prepareCertB()
902 m_idp.put(id_p, tmp); in prepareCertB()
903 s_idp.add(id_p); in prepareCertB()
907 tmp = (Set)m_idp.get(id_p); in prepareCertB()
915 String id_p = (String)it_idp.next(); in prepareCertB() local
927 if (node.getValidPolicy().equals(id_p)) in prepareCertB()
930 node.expectedPolicies = (Set)m_idp.get(id_p); in prepareCertB()
996 .get(id_p), p_node, pq, id_p, ci); in prepareCertB()
1015 if (node.getValidPolicy().equals(id_p)) in prepareCertB()