On Tue, Jun 02, 2020 at 03:59:40PM +0000, Sebastien Buisson wrote: > > > Le 1 juin 2020 à 09:13, Eric Biggers <ebiggers@xxxxxxxxxx> a écrit : > > > > On Thu, May 28, 2020 at 07:00:51PM +0200, sbuisson.ddn@xxxxxxxxx wrote: > >> From: Sebastien Buisson <sbuisson@xxxxxxxxxxxxx> > >> > >> Add adler32 to CryptoAPI so that it can be used with the normal kernel > >> API, and potentially accelerated if architecture-specific > >> optimizations are available. > >> > >> Signed-off-by: Sebastien Buisson <sbuisson@xxxxxxxxxxxxx> > >> --- > >> crypto/Kconfig | 7 + > >> crypto/Makefile | 1 + > >> crypto/adler32_zlib.c | 117 ++++++++++++++++ > >> crypto/testmgr.c | 7 + > >> crypto/testmgr.h | 362 ++++++++++++++++++++++++++++++++++++++++++++++++++ > >> 5 files changed, 494 insertions(+) > >> create mode 100644 crypto/adler32_zlib.c > > > > Did you actually run the self-tests for this? They fail for me. > > I was wondering how to run testmgr tests alone? Just boot with: # CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y Then check dmesg or /proc/crypto. - Eric