libgocryptfs/internal/contentenc
Jakob Unterwurzacher 2f953fdb95 contentenc: catch integer underflow in file size calculation
If you truncate a ciphertext file to 19 bytes, you could get the
impression that the plaintext is 18446744073709551585 bytes long,
as reported by "ls -l".

Fix it by clamping the value to zero.
2017-03-07 20:56:50 +01:00
..
content_test.go full stack: implement HKDF support 2017-03-05 21:59:55 +01:00
content.go configfile: switch to 128-bit IVs for master key encryption 2017-03-05 18:03:03 +01:00
file_header.go Replace all calls to naked panic() with log.Panic() 2016-12-10 11:54:36 +01:00
intrablock.go lint fixes 2016-10-04 23:18:33 +02:00
offsets.go contentenc: catch integer underflow in file size calculation 2017-03-07 20:56:50 +01:00