mirror of https://github.com/borgbackup/borg.git
1f4077d870
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. |
||
---|---|---|
.. | ||
testsuite | ||
__init__.py | ||
_chunker.c | ||
_hashindex.c | ||
_version.py | ||
archive.py | ||
archiver.py | ||
cache.py | ||
chunker.pyx | ||
crypto.pyx | ||
fuse.py | ||
hashindex.pyx | ||
helpers.py | ||
key.py | ||
lrucache.py | ||
platform.py | ||
platform_darwin.pyx | ||
platform_freebsd.pyx | ||
platform_linux.pyx | ||
remote.py | ||
repository.py | ||
xattr.py |