All of lore.kernel.org
 help / color / mirror / Atom feed
* sha384 self-test failure oddity
@ 2009-05-29 18:35 Jarod Wilson
  2009-06-02  5:10 ` Herbert Xu
  0 siblings, 1 reply; 7+ messages in thread
From: Jarod Wilson @ 2009-05-29 18:35 UTC (permalink / raw)
  To: linux-crypto

While doing a bit of testing of some other crypto code, I've repeatedly
noticed a sha384 self-test failure. If you 'modprobe tcrypt', the
sha384 self-test fails, then immediately after it, sha384-generic
self-tests succeed. Something is awry w/sha384 initialization, as
can be more plainly seen by the following after a reboot:

# modprobe tcrypt mode=11 (run sha384 self-test)

dmesg
-----
alg: hash: Failed to load transform for sha384: -2


# modprobe tcrypt mode=12 (run sha512 self-test)

dmesg
-----
alg: self-tests for sha384-generic (sha384) passed
alg: self-tests for sha512-generic (sha512) passed
alg: self-tests for sha512 (sha512) passed


# modprobe tcrypt mode=11 (run sha384 self-test again)

dmesg
-----
alg: self-tests for sha384 (sha384) passed


Not sure offhand what's going awry, and don't have time to look deeper
right now, but will do so if nobody else gets around to it first...

-- 
Jarod Wilson
jarod@redhat.com

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

end of thread, other threads:[~2009-06-16 12:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29 18:35 sha384 self-test failure oddity Jarod Wilson
2009-06-02  5:10 ` Herbert Xu
2009-06-02 13:01   ` Jarod Wilson
2009-06-02 13:20     ` Herbert Xu
2009-06-02 19:41       ` Jarod Wilson
2009-06-16 11:22         ` Herbert Xu
2009-06-16 12:39           ` Jarod Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.