forked from TrueCloudLab/restic
9940e8d9f1
* 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 |
||
---|---|---|
.. | ||
crypto.go | ||
crypto_int_test.go | ||
crypto_test.go | ||
doc.go | ||
kdf.go | ||
kdf_test.go |