ha: Add support to sync IKE and Child SAs with multiple key exchanges
Synchronization for the additional transforms in the IKE and Child SA proposals is added. Details of the IKE_SA synchronization are changed to support IKE_INTERMEDIATE exchanges that cause multiple HA_IKE_ADD messages and key derivations. The cache has been extended to handle multiple such messages. Co-authored-by: Thomas Egerer <[email protected]>
This commit is contained in:
co-authored by
Thomas Egerer
parent
f717bb5249
commit
e7848e36fa
@@ -52,6 +52,12 @@ enum transform_type_t {
|
||||
KEY_DERIVATION_FUNCTION = 262,
|
||||
};
|
||||
|
||||
/**
|
||||
* Maximum number of additional key exchanges.
|
||||
*/
|
||||
#define MAX_ADDITIONAL_KEY_EXCHANGES (ADDITIONAL_KEY_EXCHANGE_7 - \
|
||||
ADDITIONAL_KEY_EXCHANGE_1 + 1)
|
||||
|
||||
/**
|
||||
* enum names for transform_type_t.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user