Messages in this thread | | | From | Andreas Dilger <> | Subject | Re: [PATCH v2 1/2] ext4: Handle casefolding with encryption | Date | Sat, 20 Mar 2021 03:05:54 -0600 |
| |
On Mar 19, 2021, at 1:34 AM, Daniel Rosenberg <drosen@google.com> wrote: > > This adds support for encryption with casefolding. > > Since the name on disk is case preserving, and also encrypted, we can no > longer just recompute the hash on the fly. Additionally, to avoid > leaking extra information from the hash of the unencrypted name, we use > siphash via an fscrypt v2 policy. > > The hash is stored at the end of the directory entry for all entries > inside of an encrypted and casefolded directory apart from those that > deal with '.' and '..'. This way, the change is backwards compatible > with existing ext4 filesystems. > > Signed-off-by: Daniel Rosenberg <drosen@google.com>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Cheers, Andreas
[unhandled content-type:application/pgp-signature] | |