Re: [dm-devel] [PATCH v3 2/2] crypto: lrw - Do not use auxiliary buffer

2018-09-13 Thread Ondrej Mosnacek
On Wed, Sep 12, 2018 at 8:51 AM Eric Biggers wrote: > On Tue, Sep 11, 2018 at 09:42:39AM +0200, Ondrej Mosnacek wrote: > > This patch simplifies the LRW template to recompute the LRW tweaks from > > scratch in the second pass and thus also removes the need to allocate a > > dynamic buffer using

Re: [dm-devel] [PATCH v3 2/2] crypto: lrw - Do not use auxiliary buffer

2018-09-13 Thread Eric Biggers
On Tue, Sep 11, 2018 at 09:42:39AM +0200, Ondrej Mosnacek wrote: > This patch simplifies the LRW template to recompute the LRW tweaks from > scratch in the second pass and thus also removes the need to allocate a > dynamic buffer using kmalloc(). > > As discussed at [1], the use of kmalloc causes

[dm-devel] [PATCH v3 2/2] crypto: lrw - Do not use auxiliary buffer

2018-09-11 Thread Ondrej Mosnacek
This patch simplifies the LRW template to recompute the LRW tweaks from scratch in the second pass and thus also removes the need to allocate a dynamic buffer using kmalloc(). As discussed at [1], the use of kmalloc causes deadlocks with dm-crypt. PERFORMANCE MEASUREMENTS (x86_64) Performed