Home
last modified time | relevance | path

Searched refs:nonce_p (Results 1 – 11 of 11) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_quick.c415 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 …]
Dhandler.h154 vchar_t *nonce_p; /* partner's nonce value */ member
301 vchar_t *nonce_p; /* partner's nonce value in phase 2 */ member
Disakmp_base.c337 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);
Doakley.c497 + 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 …]
Disakmp_agg.c405 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);
Disakmp_ident.c460 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);
Dhandler.c340 VPTRINIT(iph1->nonce_p);
637 VPTRINIT(iph2->nonce_p);
/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.h99 const u8 *nonce_p, const u8 *nonce_s);
103 const u8 *nonce_p, const u8 *nonce_s,
Deap_eke_common.c501 const u8 *nonce_p, const u8 *nonce_s) in eap_eke_derive_ka() argument
527 os_memcpy(pos, nonce_p, sess->nonce_len); in eap_eke_derive_ka()
546 const u8 *nonce_p, const u8 *nonce_s, in eap_eke_derive_msk() argument
572 os_memcpy(pos, nonce_p, sess->nonce_len); in eap_eke_derive_msk()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_eke.c30 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/
Deap_eke.c28 u8 nonce_p[EAP_EKE_MAX_NONCE_LEN]; member
466 if (random_get_bytes(data->nonce_p, data->sess.nonce_len)) { in eap_eke_process_commit()
472 data->nonce_p, data->sess.nonce_len); in eap_eke_process_commit()
474 if (eap_eke_prot(&data->sess, data->nonce_p, data->sess.nonce_len, in eap_eke_process_commit()
548 if (os_memcmp(data->nonce_p, nonces, data->sess.nonce_len) != 0) { in eap_eke_process_confirm()
561 data->nonce_p, data->nonce_s) < 0) { in eap_eke_process_confirm()
608 data->nonce_s, data->nonce_p, in eap_eke_process_confirm()
762 os_memcpy(sid + 1, data->nonce_p, data->sess.nonce_len); in eap_eke_get_session_id()