Re: [PATCH] crypto: algapi - Remove test larvals to fix error paths

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

 



On Wed, 16 Mar 2022 at 02:11, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Jan 26, 2022 at 04:01:04PM +0100, Philipp Zabel wrote:
> >
> > I see this happen on ARM with CONFIG_CRYPTO_AES_ARM_BS=y since v5.16-rc1
> > because the simd_skcipher_create_compat("ecb(aes)", "ecb-aes-neonbs",
> > "__ecb-aes-neonbs") call in arch/arm/crypto/aes-neonbs-glue.c returns
> > -ENOENT. I believe that is the same issue as reported in [1].
>
> I cannot reproduce this crash with qemu.  If you can still
> reproduce this, please send me your complete kconfig file.
>

According to the bisect log in the other thread,
adad556efcdd42a1d9e060cb is the culprit, which does not seem
surprising, at is would result in the SIMD skcipher being encapsulated
to not be available yet when the SIMD helper tries to take a reference
to it.

Given that the resulting algo will be subject to testing as well,
could we simply override the test requirement for the inner algo? That
should make it available immediately, IIUC, and the outer algo test is
guaranteed to cover the inner one.



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

  Powered by Linux