Martin Willi
|
a4549e5525
|
iv-gen: Add a generic constructor to create an IV gen from an algorithm
|
2015-04-13 15:06:15 +02:00 |
|
Tobias Brunner
|
0c6f6c4e34
|
iv_gen: Mask sequential IVs with a random salt
This makes it harder to attack a HA setup, even if the sequence numbers were
not fully in sync.
|
2013-10-11 15:55:40 +02:00 |
|
Tobias Brunner
|
e8229ad558
|
iv_gen: Provide external sequence number (IKE, ESP)
This prevents duplicate sequential IVs in case of a HA failover.
|
2013-10-11 15:55:40 +02:00 |
|
Tobias Brunner
|
b3e1eb2afe
|
iv_gen: Add IV generator that allocates IVs sequentially
|
2013-10-11 15:55:40 +02:00 |
|
Tobias Brunner
|
53d1f2dbfd
|
iv_gen: Add IV generator that allocates IVs randomly
Uses RNG_WEAK as the code currently does elsewhere to allocate IVs.
|
2013-10-11 15:55:40 +02:00 |
|
Tobias Brunner
|
403057aa5a
|
crypto: Add generic interface for IV generators
|
2013-10-11 15:55:40 +02:00 |
|