linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Need help with failling gcm_base(ctr,ghash-generic) selftest
@ 2019-08-01 19:42 Corentin Labbe
  2019-08-02  0:24 ` Pascal Van Leeuwen
  0 siblings, 1 reply; 4+ messages in thread
From: Corentin Labbe @ 2019-08-01 19:42 UTC (permalink / raw)
  To: herbert, linux-crypto; +Cc: linux-kernel

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%@+2614] dst_divs=[5.90%@alignmask+3015, 60.56%@+3996, 17.92%@+865, 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-02  8:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-01 19:42 Need help with failling gcm_base(ctr,ghash-generic) selftest Corentin Labbe
2019-08-02  0:24 ` Pascal Van Leeuwen
2019-08-02  5:18   ` Corentin Labbe
2019-08-02  8:55     ` Pascal Van Leeuwen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).