- update default values, eliminate obsolete ones

git-svn-id: https://gnunet.org/svn/gnunet@33681 140774ce-b5e7-0310-ab8b-a85725594a96
- intialize a new kx_ctx on receipt of a new ephemeral key if none exists

git-svn-id: https://gnunet.org/svn/gnunet@33682 140774ce-b5e7-0310-ab8b-a85725594a96
- debug info, refactor

git-svn-id: https://gnunet.org/svn/gnunet@33683 140774ce-b5e7-0310-ab8b-a85725594a96
- expire old keys adaptively

git-svn-id: https://gnunet.org/svn/gnunet@33684 140774ce-b5e7-0310-ab8b-a85725594a96
- kx debug

git-svn-id: https://gnunet.org/svn/gnunet@33685 140774ce-b5e7-0310-ab8b-a85725594a96
- reduce rekey period for tests, ensure even shorter keepalive

git-svn-id: https://gnunet.org/svn/gnunet@33686 140774ce-b5e7-0310-ab8b-a85725594a96
- verbose tunnel debug in error cases

git-svn-id: https://gnunet.org/svn/gnunet@33687 140774ce-b5e7-0310-ab8b-a85725594a96
- test and log for bug #0003423

git-svn-id: https://gnunet.org/svn/gnunet@33688 140774ce-b5e7-0310-ab8b-a85725594a96
- Allow two GC_2s calls in one line (limited reentrant code)

git-svn-id: https://gnunet.org/svn/gnunet@33689 140774ce-b5e7-0310-ab8b-a85725594a96
- limit queued messages on tunnel level when tunnel is not ready

git-svn-id: https://gnunet.org/svn/gnunet@33690 140774ce-b5e7-0310-ab8b-a85725594a96
- only create keys on new ephemeral info

git-svn-id: https://gnunet.org/svn/gnunet@33691 140774ce-b5e7-0310-ab8b-a85725594a96
- add rekey state

git-svn-id: https://gnunet.org/svn/gnunet@33692 140774ce-b5e7-0310-ab8b-a85725594a96
Allow to send traffic with the new key when the rekey period is over. In case of a late PONG, very high latency or partial traffic censorship, this will allow the receiver to still receive the traffic if the ephemeral key did in fact get through.

Additionally it doesn't stop the payload traffic after an interrupted Key eXchange, giving a mitm less information about the status of the session.

git-svn-id: https://gnunet.org/svn/gnunet@33693 140774ce-b5e7-0310-ab8b-a85725594a96
IMPORTANT FIX: use return value for integrity check

git-svn-id: https://gnunet.org/svn/gnunet@33694 140774ce-b5e7-0310-ab8b-a85725594a96
- check message size to avoid infinite loop

git-svn-id: https://gnunet.org/svn/gnunet@33695 140774ce-b5e7-0310-ab8b-a85725594a96
- send 1000 messages to force re-key testing

git-svn-id: https://gnunet.org/svn/gnunet@33696 140774ce-b5e7-0310-ab8b-a85725594a96
- rename

git-svn-id: https://gnunet.org/svn/gnunet@33697 140774ce-b5e7-0310-ab8b-a85725594a96
- add 2s for new state, reduce buffer

git-svn-id: https://gnunet.org/svn/gnunet@33698 140774ce-b5e7-0310-ab8b-a85725594a96
- refactor key selection, hmac calculation

git-svn-id: https://gnunet.org/svn/gnunet@33699 140774ce-b5e7-0310-ab8b-a85725594a96
- fixes, renaming

git-svn-id: https://gnunet.org/svn/gnunet@33700 140774ce-b5e7-0310-ab8b-a85725594a96