redo stream decryption
authorPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 6 Mar 2017 15:51:13 +0000 (16:51 +0100)
committerPhilipp Gesang <philipp.gesang@intra2net.com>
Mon, 6 Mar 2017 16:23:47 +0000 (17:23 +0100)
commit4d44fbde1ae7f0e5e5bfcface71586cd979776a2
tree162a3396736922ad4302c8b6484924acbafa307a
parent1d8f9cadfee9bc9936a8d802944e7e325a725c3d
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