Re: [PATCH v2 03/36] fscrypt: add per-extent encryption support

2023-10-14 Thread Eric Biggers
On Tue, Oct 10, 2023 at 04:40:18PM -0400, Josef Bacik wrote: > This adds the code necessary for per-extent encryption. We will store a > nonce for every extent we create, and then use the inode's policy and > the extents nonce to derive a per-extent key. > > This is meant to be flexible, if we ch

[PATCH v2 03/36] fscrypt: add per-extent encryption support

2023-10-10 Thread Josef Bacik
This adds the code necessary for per-extent encryption. We will store a nonce for every extent we create, and then use the inode's policy and the extents nonce to derive a per-extent key. This is meant to be flexible, if we choose to expand the on-disk extent information in the future we have a v