From: Jarod Wilson <jarod@redhat.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Subject: Re: sha384 self-test failure oddity
Date: Tue, 2 Jun 2009 09:01:42 -0400 [thread overview]
Message-ID: <200906020901.42920.jarod@redhat.com> (raw)
In-Reply-To: <20090602051027.GA24415@gondor.apana.org.au>
On Tuesday 02 June 2009 01:10:27 Herbert Xu wrote:
> Jarod Wilson <jarod@redhat.com> wrote:
> > 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
>
> What kernel version
Straight up clone of cryptodev-2.6 -- i.e., not linus' tree + cryptodev
tacked on top. uname -r just says 2.6.29.
> and config?
Pretty much a dupe of the latest Fedora 11 kernel configs, run through
make oldconfig.
> I can't reproduce this with 2.6.30-rc7.
I'll rebase my cryptodev tree to 2.6.30-rcX and see if I can still
reproduce the problem.
> What does modinfo sha512_generic say?
# modinfo sha512_generic
filename: /lib/modules/2.6.29/kernel/crypto/sha512_generic.ko
alias: sha512
alias: sha384
description: SHA-512 and SHA-384 Secure Hash Algorithms
license: GPL
srcversion: 8709387FD8370A6569E17F3
depends:
vermagic: 2.6.29 SMP mod_unload
--
Jarod Wilson
jarod@redhat.com
next prev parent reply other threads:[~2009-06-02 13:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200906020901.42920.jarod@redhat.com \
--to=jarod@redhat.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).