Re: [PATCH] crypto: powerpc - convert to use crypto_simd_usable()

2019-04-18 Thread Herbert Xu
On Fri, Apr 12, 2019 at 10:33:12PM -0700, Eric Biggers wrote: > From: Eric Biggers > > Replace all calls to in_interrupt() in the PowerPC crypto code with > !crypto_simd_usable(). This causes the crypto self-tests to test the > no-SIMD code paths when CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y. > >

[PATCH] crypto: powerpc - convert to use crypto_simd_usable()

2019-04-12 Thread Eric Biggers
From: Eric Biggers Replace all calls to in_interrupt() in the PowerPC crypto code with !crypto_simd_usable(). This causes the crypto self-tests to test the no-SIMD code paths when CONFIG_CRYPTO_MANAGER_EXTRA_TESTS=y. The p8_ghash algorithm is currently failing and needs to be fixed, as it