[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190801194249.GA18705@Red>
Date: Thu, 1 Aug 2019 21:42:49 +0200
From: Corentin Labbe <clabbe.montjoie@...il.com>
To: herbert@...dor.apana.org.au, linux-crypto@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
Subject: Need help with failling gcm_base(ctr,ghash-generic) selftest
Hello
I am writing the Allwinner sun8i-ce driver and when running tcrypt I got
[ 30.201739] alg: aead: gcm_base(ctr-aes-sun8i-ce,ghash-generic) decryption failed on test vector 3; expected_error=0, actual_error=-74, cfg=\"random: may_sleep use_digest src_divs=[100.0%@...14] dst_divs=[5.90%@...gnmask+3015, 60.56%@...96, 17.92%@...5, 15.62%@+10]\"
or
[ 148.613537] alg: aead: gcm_base(ctr-aes-sun8i-ce,ghash-generic) encryption test failed (wrong result) on test vector 2, cfg=\"random: may_sleep use_final src_divs=[100.0%@+0] iv_offset=20\"
Since ctr-aes-sun8i-ce is passing the ctr(aes) selftest, I dont understand what could be wrong.
Thanks
Regards
Powered by blists - more mailing lists