On Fri, 24 Aug 2018, Herbert Xu wrote: > On Fri, Aug 24, 2018 at 07:06:32AM -0400, Mikulas Patocka wrote: > > > > A quick search through the crypto code shows that ahash_save_req and > > seqiv_aead_encrypt return -ENOMEM. > > > > Will you fix them? > > These only trigger for unaligned buffers. It would be much better > if dm-crypt can ensure that the input/output is properly unaligned > and if otherwise do the allocation in dm-crypt. But we are relying here on an implementation detail and not on contract. Mikulas -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel
- [dm-devel] Deadlock when using crypto API for block device... Mikulas Patocka
- Re: [dm-devel] Deadlock when using crypto API for blo... Herbert Xu
- Re: [dm-devel] Deadlock when using crypto API for... Mikulas Patocka
- Re: [dm-devel] Deadlock when using crypto API... Mikulas Patocka
- Re: [dm-devel] Deadlock when using crypto... Herbert Xu
- Re: [dm-devel] Deadlock when using crypto API... Herbert Xu
- Re: [dm-devel] Deadlock when using crypto... Mikulas Patocka
- Re: [dm-devel] Deadlock when using c... Mikulas Patocka
- Re: [dm-devel] Deadlock when usi... Herbert Xu
- Re: [dm-devel] Deadlock when... Herbert Xu
- Re: [dm-devel] Deadlock when... Dave Watson