diff options
Diffstat (limited to 'src/libcharon/sa/ikev1/keymat_v1.h')
-rw-r--r-- | src/libcharon/sa/ikev1/keymat_v1.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcharon/sa/ikev1/keymat_v1.h b/src/libcharon/sa/ikev1/keymat_v1.h index a25bc98b2..cc9f3b339 100644 --- a/src/libcharon/sa/ikev1/keymat_v1.h +++ b/src/libcharon/sa/ikev1/keymat_v1.h @@ -120,8 +120,11 @@ struct keymat_v1_t { /** * Returns the IV for a message with the given message ID. * + * The return chunk contains internal data and is valid until the next + * get_iv/udpate_iv/confirm_iv call. + * * @param mid message ID - * @param iv chunk receiving allocated IV + * @param iv chunk receiving IV, internal data * @return TRUE if IV allocated successfully */ bool (*get_iv)(keymat_v1_t *this, u_int32_t mid, chunk_t *iv); |