Re: [v2 PATCH] crypto: sun4i-ss - Fix sparse endianness markers
From: Herbert Xu
Date: Thu Oct 08 2020 - 01:52:56 EST
On Thu, Sep 24, 2020 at 03:27:38PM +0200, Corentin Labbe wrote:
>
> This is an example on next-20200923+BigEndian
> alg: ahash: sha1 test failed (wrong result) on test vector \"random: psize=194 ksize=0\", cfg=\"random: inplace may_sleep use_finup src_divs=[98.25%@+1124, <flush>1.75%@+5] iv_offset=18\"
Hmm, the only way I can see this happening is if it was triggered
by tcrypt. Were you using tcrypt by any chance?
Ccing Eric in case he has any insight.
> === DUMP /proc/crypto ===
> name : sha1
> driver : sha1-sun4i-ss
> module : kernel
> priority : 300
> refcnt : 1
> selftest : passed
> internal : no
> type : ahash
> async : no
> blocksize : 64
> digestsize : 20
...
> name : sha1
> driver : sha1-generic
> module : kernel
> priority : 100
> refcnt : 1
> selftest : passed
> internal : no
> type : shash
> blocksize : 64
> digestsize : 20
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt