store ESP keys in CHILD_SA

This commit is contained in:
Martin Willi
2008-10-15 08:37:56 +00:00
parent ff93a76cf1
commit 9f4e5f8c47
4 changed files with 78 additions and 57 deletions
+4 -4
View File
@@ -147,17 +147,17 @@ struct child_sa_t {
*
* @param mode mode this IKE_SA uses
* @param encr_algo encryption algorithm used by this CHILD_SA.
* @param encr_len key length of the algorithm, if any
* @param encr_key encryption key
* @param int_algo integrity algorithm used by this CHILD_SA
* @param int_len key length of the algorithm, if any
* @param int_key integrity key
* @param rekey time when rekeying is scheduled
* @param use_in time when last traffic was seen coming in
* @param use_out time when last traffic was seen going out
* @param use_fwd time when last traffic was getting forwarded
*/
void (*get_stats)(child_sa_t *this, ipsec_mode_t *mode,
encryption_algorithm_t *encr, size_t *encr_len,
integrity_algorithm_t *int_algo, size_t *int_len,
encryption_algorithm_t *encr, chunk_t *encr_key,
integrity_algorithm_t *int_algo, chunk_t *int_key,
u_int32_t *rekey, u_int32_t *use_in, u_int32_t *use_out,
u_int32_t *use_fwd);