- refactored ike proposal

- uses now proposal_t, wich is also used by child proposals
- ike key derivation refactored
- crypter_t api has get_key_size now
- some other improvements here and there
This commit is contained in:
Martin Willi
2006-02-14 14:52:00 +00:00
parent 409d010131
commit ce461bbd13
43 changed files with 967 additions and 1278 deletions
+3 -3
View File
@@ -32,7 +32,7 @@
#include <transforms/signers/signer.h>
#include <transforms/diffie_hellman.h>
#include <config/traffic_selector.h>
#include <config/child_proposal.h>
#include <config/proposal.h>
@@ -174,7 +174,7 @@ struct sa_config_t {
* @param proposals list from from wich proposals are selected
* @return selected proposal, or NULL if nothing matches
*/
child_proposal_t *(*select_proposal) (sa_config_t *this, linked_list_t *proposals);
proposal_t *(*select_proposal) (sa_config_t *this, linked_list_t *proposals);
/**
* @brief Add a traffic selector to the list for initiator.
@@ -211,7 +211,7 @@ struct sa_config_t {
* @param this calling object
* @param proposal proposal to add
*/
void (*add_proposal) (sa_config_t *this, child_proposal_t *proposal);
void (*add_proposal) (sa_config_t *this, proposal_t *proposal);
/**
* @brief Destroys the config object