Re: [PATCH v2 9/9] cryptodisk: Properly handle non-512 byte sized sectors

2020-09-01 Thread Patrick Steinhardt
On Mon, Aug 31, 2020 at 01:43:36PM -0500, Glenn Washburn wrote: > I just noticed that I have a couple minor non-functional changes that I > think will make this patch a little better. I had been planning on > updating my original patch, but since you're picking this up, this is a > better place to

Re: [PATCH v2 9/9] cryptodisk: Properly handle non-512 byte sized sectors

2020-08-31 Thread Glenn Washburn
I just noticed that I have a couple minor non-functional changes that I think will make this patch a little better. I had been planning on updating my original patch, but since you're picking this up, this is a better place to update. Let me know if you'd like the updated version of the patch ins

[PATCH v2 9/9] cryptodisk: Properly handle non-512 byte sized sectors

2020-08-26 Thread Patrick Steinhardt
From: Glenn Washburn By default, dm-crypt internally uses an IV that corresponds to 512-byte sectors, even when a larger sector size is specified. What this means is that when using a larger sector size, the IV is incremented every sector. However, the amount the IV is incremented is the number o