Re: [PATCH] crypto: testmgr - skip crc32c context test for ahash algorithms

2019-01-31 Thread Herbert Xu
On Wed, Jan 23, 2019 at 08:57:35PM -0800, Eric Biggers wrote: > From: Eric Biggers > > Instantiating "cryptd(crc32c)" causes a crypto self-test failure because > the crypto_alloc_shash() in alg_test_crc32c() fails. This is because > cryptd(crc32c) is an ahash algorithm, not a shash algorithm; so

[PATCH] crypto: testmgr - skip crc32c context test for ahash algorithms

2019-01-23 Thread Eric Biggers
From: Eric Biggers Instantiating "cryptd(crc32c)" causes a crypto self-test failure because the crypto_alloc_shash() in alg_test_crc32c() fails. This is because cryptd(crc32c) is an ahash algorithm, not a shash algorithm; so it can only be accessed through the ahash API, unlike shash algorithms