Re: [f2fs-dev] [PATCH v8 13/20] fscrypt: v2 encryption policy support

2019-08-12 Thread Theodore Y. Ts'o
On Mon, Aug 05, 2019 at 09:25:14AM -0700, Eric Biggers wrote: > From: Eric Biggers > > Add a new fscrypt policy version, "v2". It has the following changes > from the original policy version, which we call "v1" (*): > > - Master keys (the user-provided encryption keys) are only ever used as >

Re: [f2fs-dev] [PATCH v8 13/20] fscrypt: v2 encryption policy support

2019-08-06 Thread Paul Crowley via Linux-f2fs-devel
On Mon, 5 Aug 2019 at 09:28, Eric Biggers wrote: > > From: Eric Biggers > > Add a new fscrypt policy version, "v2". It has the following changes > from the original policy version, which we call "v1" (*): > > - Master keys (the user-provided encryption keys) are only ever used as > input to HK

[f2fs-dev] [PATCH v8 13/20] fscrypt: v2 encryption policy support

2019-08-05 Thread Eric Biggers
From: Eric Biggers Add a new fscrypt policy version, "v2". It has the following changes from the original policy version, which we call "v1" (*): - Master keys (the user-provided encryption keys) are only ever used as input to HKDF-SHA512. This is more flexible and less error-prone, and it