extend strict iv tracking to encryption
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Tue, 9 May 2017 08:22:43 +0000 (10:22 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commit30019abfb8a16cf54eb0bdc5a299c0eed816e970
tree374507274dff4d185b9faec2775c878c7dc85d71
parent1f3fd7b02fd7fdd34b531bf53a2ae524312c4af2
extend strict iv tracking to encryption

This is just an extra soundness check to prevent accidental reuse
if IVs when handled incorrectly (same initial counters passed
twice to the same context). In normal usage this case cannot
happen.
deltatar/crypto.py
testing/test_crypto.py