mirror of
https://github.com/restic/restic.git
synced 2025-03-13 20:20:56 +00:00

* append operates on len, not cap (not a bug since len is set to cap above, but let's avoid the confusion) * no need to extend ciphertext again to cap after we made it big enough * make consistent use of ciphertext[:ivSize] vs iv[:] * make all input problems errors and impossible/catastrophic cases panics