2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-23 07:08:28 +00:00
Filippo Valsorda 9940e8d9f1 internal/crypto: small simplifications
* 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
2017-08-29 00:30:06 +02:00
..
2017-07-23 14:19:13 +02:00
2017-07-23 14:21:03 +02:00
2017-07-23 14:19:13 +02:00
2017-07-23 14:19:13 +02:00
2017-07-23 14:21:03 +02:00