Re: sha384 self-test failure oddity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 02 June 2009 01:10:27 Herbert Xu wrote:
> Jarod Wilson <jarod@xxxxxxxxxx> 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@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux