libgocryptfs/cryptfs
Jakob Unterwurzacher 296bdf3af2 CipherSizeToPlainSize: Handle illegal states
A file never gets a cipherSize <= HEADER_LEN in normal operation.
However, this can happen if header write it interrupted or the
underlying filesystem does not support fallocate.

Noticed while trying to store a CIPHERDIR in another gocryptfs mount
(gocryptfs does not support fallocate)
2015-11-15 14:15:21 +01:00
..
config_test tests: add config file and feature flags tests 2015-11-03 21:09:58 +01:00
address_translation.go CipherSizeToPlainSize: Handle illegal states 2015-11-15 14:15:21 +01:00
config_file.go Run go fmt and go vet 2015-11-14 17:16:17 +01:00
config_test.go Run go fmt and go vet 2015-11-14 17:16:17 +01:00
content_test.go Run go fmt and go vet 2015-11-14 17:16:17 +01:00
cryptfs.go Update USAGE.txt 2015-11-03 00:06:04 +01:00
cryptfs_content.go config: Introduce ext4-style feature flags 2015-11-03 21:05:47 +01:00
cryptfs_names.go Implement PlainTextNames mode 2015-11-03 00:00:13 +01:00
file_header.go Bump on-disk version to 2 2015-11-02 23:10:11 +01:00
filter.go Add "-extpass" cli option and associated tests 2015-11-15 13:42:04 +01:00
intrablock.go Refactor ciphertext <-> plaintext offset translation functions 2015-11-01 12:11:36 +01:00
kdf.go Run go fmt 2015-10-04 14:49:47 +02:00
log.go Run go fmt and go vet 2015-11-14 17:16:17 +01:00
names_test.go Fix tests broken by PlaintextNames addition 2015-11-03 18:19:19 +01:00
nonce.go Run go fmt 2015-10-07 22:59:36 +02:00
openssl_aead.go Use block number as authentication data 2015-10-06 22:27:37 +02:00