automate iv fixed-part generation
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 27 Mar 2017 15:43:27 +0000 (17:43 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit50710d8659ea58a6698ddc09a5074091c6da77bc
tree622900c2f6a7f0a5ecfd864e1cfb56b874c49b6f
parentcbf55ffbf2618611f43bcdf164b90b1304ccc7a7
automate iv fixed-part generation

The crypto context keeps track of the used IV fixed parts
so they can eventually be included in the info file. A new
fixed part is created in the ctor, then for every time the
counter wraps.

“Wrapping” resets the counter to 2 since 1 is globally reserved
for the info file.
deltatar/crypto.py