Searched refs:peer_auth (Results 1 – 6 of 6) sorted by relevance
46 enum { PEER_AUTH_CERT, PEER_AUTH_SECRET } peer_auth; member
497 if (data->peer_auth == PEER_AUTH_CERT) { in ikev2_process_cert()610 switch (data->peer_auth) { in ikev2_process_auth()1092 ikev2_build_nr(data, msg, data->peer_auth == PEER_AUTH_SECRET ? in ikev2_build_sa_init()1104 if (data->peer_auth == PEER_AUTH_CERT) { in ikev2_build_sa_init()1109 if (data->peer_auth == PEER_AUTH_SECRET) { in ikev2_build_sa_init()
81 data->ikev2.peer_auth = PEER_AUTH_SECRET; in eap_ikev2_init()
45 enum { PEER_AUTH_CERT, PEER_AUTH_SECRET } peer_auth; member
563 if (data->peer_auth == PEER_AUTH_CERT) { in ikev2_process_cert()674 switch (data->peer_auth) { in ikev2_process_auth()
93 data->ikev2.peer_auth = PEER_AUTH_SECRET; in eap_ikev2_init()