store ESP keys in CHILD_SA
[strongswan.git] / src / charon / sa / child_sa.h
index 8b71bd6..cbf7bfc 100644 (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 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_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,
         * @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);
        
                                          u_int32_t *rekey, u_int32_t *use_in, u_int32_t *use_out,
                                          u_int32_t *use_fwd);