[PATCH 0/4] Fix synchronous fallback path for request chaining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It turns out that the fallback path for synchronous algorithms
is broken for ahash and acomp.  It was difficult to identify
because a separate fast path already is normally used for shash
and scomp.  So to reproduce this crash, you would either have to
create a new algorithm that is synchronous, or disable the fast
path for scomp and shash.

This patch series fixes that particular fallback path and adds
multibuffer testing for ahash and acomp.  Note that you may not
be able to reproduce the crash without disabling the fast paths
or adding your own custom synchronous acomp/ahash algorithm that
does not support chaining.

Herbert Xu (4):
  crypto: hash - Fix synchronous ahash chaining fallback
  crypto: testmgr - Add multibuffer hash testing
  crypto: acomp - Fix synchronous acomp chaining fallback
  crypto: testmgr - Add multibuffer acomp testing

 crypto/acompress.c |  33 ++---
 crypto/ahash.c     |  60 +++++----
 crypto/testmgr.c   | 302 ++++++++++++++++++++++++++++++++-------------
 3 files changed, 254 insertions(+), 141 deletions(-)

-- 
2.39.5





[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux