Searched refs:peer_auth (Results 1 – 6 of 6) sorted by relevance
46 enum { PEER_AUTH_CERT, PEER_AUTH_SECRET } peer_auth; member
496 if (data->peer_auth == PEER_AUTH_CERT) { in ikev2_process_cert()609 switch (data->peer_auth) { in ikev2_process_auth()1091 ikev2_build_nr(data, msg, data->peer_auth == PEER_AUTH_SECRET ? in ikev2_build_sa_init()1103 if (data->peer_auth == PEER_AUTH_CERT) { in ikev2_build_sa_init()1108 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
564 if (data->peer_auth == PEER_AUTH_CERT) { in ikev2_process_cert()675 switch (data->peer_auth) { in ikev2_process_auth()
93 data->ikev2.peer_auth = PEER_AUTH_SECRET; in eap_ikev2_init()