iv-gen: Ensure external sequential IVs are actually sequential
authorMartin Willi <martin@revosec.ch>
Fri, 17 Apr 2015 12:08:14 +0000 (14:08 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 1 Jun 2015 07:42:10 +0000 (09:42 +0200)
commitd0ed1079103334680b1b775b5217709cd26d6ab6
tree426a21784388264c8e601b0ae2830b44bbfedea2
parent823a8a9b464140524cfb14c1af7780b00acb68eb
iv-gen: Ensure external sequential IVs are actually sequential

We allow gaps in IVs, but ensure that an IV is never used more than once.
src/libstrongswan/crypto/iv/iv_gen_seq.c
src/libstrongswan/crypto/iv/iv_gen_seq.h