iv_gen: Provide external sequence number (IKE, ESP)
authorTobias Brunner <tobias@strongswan.org>
Mon, 5 Aug 2013 13:41:45 +0000 (15:41 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 11 Oct 2013 13:55:40 +0000 (15:55 +0200)
commite8229ad558efcb7b07c6ef0f77269120d49500f9
tree381b9b0c797ba4642775b9aa0f933dbb89239a47
parentd74c254dfd88b497a5262a3d8ce2dc7a684c74a8
iv_gen: Provide external sequence number (IKE, ESP)

This prevents duplicate sequential IVs in case of a HA failover.
src/libcharon/encoding/message.c
src/libcharon/encoding/payloads/encryption_payload.c
src/libcharon/encoding/payloads/encryption_payload.h
src/libipsec/esp_packet.c
src/libstrongswan/crypto/iv/iv_gen.h
src/libstrongswan/crypto/iv/iv_gen_rand.c
src/libstrongswan/crypto/iv/iv_gen_seq.c