Fixed EAP authentication regression
[strongswan.git] / src / charon / sa / authenticators / authenticator.h
index 70146dc..c608816 100644 (file)
@@ -139,24 +139,30 @@ struct authenticator_t {
  * @param ike_sa                       associated ike_sa
  * @param cfg                          authentication configuration
  * @param received_nonce       nonce received in IKE_SA_INIT
+ * @param sent_nonce           nonce sent in IKE_SA_INIT
+ * @param received_init                received IKE_SA_INIT message data
  * @param sent_init                    sent IKE_SA_INIT message data
  * @return                                     authenticator, NULL if not supported
  */
 authenticator_t *authenticator_create_builder(
                                                                        ike_sa_t *ike_sa, auth_cfg_t *cfg,
-                                                                       chunk_t received_nonce, chunk_t sent_init);
+                                                                       chunk_t received_nonce, chunk_t sent_nonce,
+                                                                       chunk_t received_init, chunk_t sent_init);
 
 /**
  * Create an authenticator to verify signatures.
  * 
  * @param ike_sa                       associated ike_sa
  * @param message                      message containing authentication data
+ * @param received_nonce       nonce received in IKE_SA_INIT
  * @param sent_nonce           nonce sent in IKE_SA_INIT
  * @param received_init                received IKE_SA_INIT message data
+ * @param sent_init                    sent IKE_SA_INIT message data
  * @return                                     authenticator, NULL if not supported
  */
 authenticator_t *authenticator_create_verifier(
                                                                        ike_sa_t *ike_sa, message_t *message,
-                                                                       chunk_t sent_nonce, chunk_t received_init);
+                                                                       chunk_t received_nonce, chunk_t sent_nonce,
+                                                                       chunk_t received_init, chunk_t sent_init);
 
 #endif /** AUTHENTICATOR_H_ @}*/