On 2020-08-06 16:09, Richard Laager wrote: > On 8/5/20 9:49 PM, Allan Jude wrote: >> I've also been discussing ideas with Brian about future-proofing, to >> handle the case where a newer version of ZSTD might compression the same >> input differently (better ratio), and how that would impact L2ARC, >> nop-write, etc. One idea (originally from Pawel Dawidek) is to do >> something similar to what encryption does, and split the checksum field. > > What would happen in the case of encryption=on + compression=zstd? >
Ahh, I had not considered that. I think we'd just do what encryption normally does, the MAC of the plaintext, and the checksum of the ciphertext. So it would effectively be the same, but may require some additional special handling I had not considered. -- Allan Jude
signature.asc
Description: OpenPGP digital signature
This is a multi-part message in MIME format... ------------=_1597116466-66494-1--