borg/attic
Thomas Waldmann 1f4077d870 crypto.pyx: adapt to strange requirements found in the openssl docs
https://www.openssl.org/docs/crypto/EVP_aes_256_cbc.html

EVP_DecryptInit_ex(), EVP_DecryptUpdate() and EVP_DecryptFinal_ex() are the corresponding decryption operations. EVP_DecryptFinal() will return an error code if padding is enabled and the final block is not correctly formatted. The parameters and restrictions are identical to the encryption operations except that if padding is enabled the decrypted data buffer out passed to EVP_DecryptUpdate() should have sufficient room for (inl + cipher_block_size) bytes unless the cipher block size is 1 in which case inl bytes is sufficient.

I doubt this is correct, but let's rather be defensive here.
2015-03-03 20:18:28 +01:00
..
testsuite cleanup crypto.pyx, make it easier to adapt to other modes 2015-03-03 19:19:28 +01:00
__init__.py Start using versioneer for version numbers 2013-08-05 23:05:15 +02:00
_chunker.c Reuse chunker buffer between files. 2014-08-03 15:04:41 +02:00
_hashindex.c hashindex: Fix issue with file sizes larger than 2GB. 2015-01-06 22:28:04 +01:00
_version.py Start using versioneer for version numbers 2013-08-05 23:05:15 +02:00
archive.py Fix Python 3.2 compatibility issue with noatime open(). 2015-01-03 23:12:47 +01:00
archiver.py limit create file permissions 2014-10-31 20:02:12 -05:00
cache.py HashIndex: Switch to a non-mmap based implementation 2014-07-10 15:32:29 +02:00
chunker.pyx Reuse chunker buffer between files. 2014-08-03 15:04:41 +02:00
crypto.pyx crypto.pyx: adapt to strange requirements found in the openssl docs 2015-03-03 20:18:28 +01:00
fuse.py fix typo in comment 2014-09-07 13:54:18 +01:00
hashindex.pyx HashIndex: Switch to a non-mmap based implementation 2014-07-10 15:32:29 +02:00
helpers.py Remove dead code 2014-10-09 20:43:58 +02:00
key.py cleanup crypto.pyx, make it easier to adapt to other modes 2015-03-03 19:19:28 +01:00
lrucache.py Remove unused imports 2013-10-18 21:00:20 +02:00
platform.py Experimental OS X ACL support (#66) 2014-05-03 15:10:11 +02:00
platform_darwin.pyx acl: Added workaround for old Linux systems 2014-08-01 15:50:18 +02:00
platform_freebsd.pyx acl: Added workaround for old Linux systems 2014-08-01 15:50:18 +02:00
platform_linux.pyx acl: Added workaround for old Linux systems 2014-08-01 15:50:18 +02:00
remote.py Introduce a separate exception for missing repository objects 2014-10-09 20:41:47 +02:00
repository.py Speed up initial repository access 2014-10-10 21:01:55 +02:00
xattr.py xattr: Fix issue with empty (0 bytes) xattr values. 2014-12-14 14:28:33 +01:00