automate iv fixed-part generation
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 27 Mar 2017 15:43:27 +0000 (17:43 +0200)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 28 Mar 2017 11:58:56 +0000 (13:58 +0200)
commitec9a7a3b318e8f72e9c6f0128b3cc074243d9fa1
tree42ee862e6240a0e23c9deba7ed39693d0a5a0955
parent7c968ae064b921d908d78e5d0f407b8d54097d66
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