redo stream decryption
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 6 Mar 2017 15:51:13 +0000 (16:51 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 2 Apr 2018 11:34:08 +0000 (13:34 +0200)
commite4e5d0b8fc92c69260d26f54b3d8cb14d02143dd
treeb71d1ef39f6847c159c2144f0a301bfd8d20806e
parenta393d9cb1682e8b47b4c019f3249c768f0019a19
redo stream decryption

When decrypting, the size of the encrypted object is known, as is
the length of the appended authentication tag; there is no
ambiguity regarding the end of an object. Thus the old string
matching logic with its linear search behavior can go.
deltatar/crypto.py
deltatar/tarfile.py