2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 05:12:10 +00:00
restic/internal/crypto
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
..
crypto_int_test.go Moves files 2017-07-23 14:19:13 +02:00
crypto_test.go Run goimports 2017-07-23 14:21:03 +02:00
crypto.go internal/crypto: small simplifications 2017-08-29 00:30:06 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
kdf_test.go Moves files 2017-07-23 14:19:13 +02:00
kdf.go Run goimports 2017-07-23 14:21:03 +02:00