Searched refs:nonce_p (Results 1 – 11 of 11) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | isakmp_quick.c | 415 if (isakmp_p2ph(&iph2->nonce_p, pa->ptr) < 0) 477 if (hash == NULL || iph2->sa_ret == NULL || iph2->nonce_p == NULL) { 538 VPTRINIT(iph2->nonce_p); 576 tmp = vmalloc(iph2->nonce->l + iph2->nonce_p->l); 583 memcpy(tmp->v + iph2->nonce->l, iph2->nonce_p->v, iph2->nonce_p->l); 921 iph2->nonce_p = NULL; 955 if (isakmp_p2ph(&iph2->nonce_p, pa->ptr) < 0) 1020 if (hash == NULL || iph2->sa == NULL || iph2->nonce_p == NULL) { 1134 VPTRINIT(iph2->nonce_p); 1331 tmp = vmalloc(iph2->nonce_p->l + body->l); [all …]
|
D | isakmp_base.c | 337 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0) 357 if (iph1->nonce_p == NULL || iph1->id_p == NULL) { 397 VPTRINIT(iph1->nonce_p); 831 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0) 856 if (iph1->nonce_p == NULL || iph1->id_p == NULL) { 894 VPTRINIT(iph1->nonce_p);
|
D | handler.h | 154 vchar_t *nonce_p; /* partner's nonce value */ member 301 vchar_t *nonce_p; /* partner's nonce value in phase 2 */ member
|
D | oakley.c | 497 + iph2->nonce_p->l); 521 bp = (side == INITIATOR ? iph2->nonce : iph2->nonce_p); 525 bp = (side == INITIATOR ? iph2->nonce_p : iph2->nonce); 1025 len = iph1->nonce->l + iph1->nonce_p->l; 1034 bp = (sw == GENERATE ? iph1->nonce_p : iph1->nonce); 1038 bp = (sw == GENERATE ? iph1->nonce : iph1->nonce_p); 1155 len = iph1->nonce->l + iph1->nonce_p->l; 1164 bp = (sw == GENERATE ? iph1->nonce_p : iph1->nonce); 1168 bp = (sw == GENERATE ? iph1->nonce : iph1->nonce_p); 2623 len = iph1->nonce->l + iph1->nonce_p->l; [all …]
|
D | isakmp_agg.c | 405 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0) 475 if (iph1->dhpub_p == NULL || iph1->nonce_p == NULL) { 590 VPTRINIT(iph1->nonce_p); 828 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0) 867 if (iph1->dhpub_p == NULL || iph1->nonce_p == NULL) { 914 VPTRINIT(iph1->nonce_p);
|
D | isakmp_ident.c | 460 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0) 530 if (iph1->dhpub_p == NULL || iph1->nonce_p == NULL) { 554 VPTRINIT(iph1->nonce_p); 1154 if (isakmp_p2ph(&iph1->nonce_p, pa->ptr) < 0) 1221 if (iph1->dhpub_p == NULL || iph1->nonce_p == NULL) { 1241 VPTRINIT(iph1->nonce_p);
|
D | handler.c | 340 VPTRINIT(iph1->nonce_p); 637 VPTRINIT(iph2->nonce_p);
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_eke.c | 30 u8 nonce_p[EAP_EKE_MAX_NONCE_LEN]; member 328 os_memcpy(nonces, data->nonce_p, data->sess.nonce_len); in eap_eke_build_confirm() 343 data->nonce_p, data->nonce_s) < 0) { in eap_eke_build_confirm() 563 decrypt_len = sizeof(data->nonce_p); in eap_eke_process_commit() 565 data->nonce_p, &decrypt_len) < 0) { in eap_eke_process_commit() 576 data->nonce_p, data->sess.nonce_len); in eap_eke_process_commit() 647 data->nonce_s, data->nonce_p, in eap_eke_process_confirm() 783 os_memcpy(sid + 1, data->nonce_p, data->sess.nonce_len); in eap_eke_get_session_id()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_eke.c | 28 u8 nonce_p[EAP_EKE_MAX_NONCE_LEN]; member 465 if (random_get_bytes(data->nonce_p, data->sess.nonce_len)) { in eap_eke_process_commit() 471 data->nonce_p, data->sess.nonce_len); in eap_eke_process_commit() 473 if (eap_eke_prot(&data->sess, data->nonce_p, data->sess.nonce_len, in eap_eke_process_commit() 547 if (os_memcmp(data->nonce_p, nonces, data->sess.nonce_len) != 0) { in eap_eke_process_confirm() 560 data->nonce_p, data->nonce_s) < 0) { in eap_eke_process_confirm() 607 data->nonce_s, data->nonce_p, in eap_eke_process_confirm() 761 os_memcpy(sid + 1, data->nonce_p, data->sess.nonce_len); in eap_eke_get_session_id()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.h | 99 const u8 *nonce_p, const u8 *nonce_s); 103 const u8 *nonce_p, const u8 *nonce_s,
|
D | eap_eke_common.c | 509 const u8 *nonce_p, const u8 *nonce_s) in eap_eke_derive_ka() argument 535 os_memcpy(pos, nonce_p, sess->nonce_len); in eap_eke_derive_ka() 554 const u8 *nonce_p, const u8 *nonce_s, in eap_eke_derive_msk() argument 580 os_memcpy(pos, nonce_p, sess->nonce_len); in eap_eke_derive_msk()
|