On Fri, 2011-02-18 at 07:52 +1100, Herbert Xu wrote:
On Thu, Feb 17, 2011 at 04:11:02PM +0100, Jan Glauber wrote:
quoted
Hi Herbert,
good idea. I ended up with using openssl to create a test vector for
that special case but a published test vector is of course better.
With your sha patch applied sha1_s390 survives the tcrypt test.
Could you check if sha1_s390 fails the test without the patch?
Without 9d20b57 it gives:
[root@h4245005 ~]# modprobe tcrypt mode=2
FATAL: Error inserting tcrypt (/lib/modules/2.6.38-rc4-dirty/kernel/crypto/tcrypt.ko): Resource temporarily unavailable
[root@h4245005 ~]# tail -f /var/log/messages
...
Feb 18 10:22:13 h4245005 kernel: alg: hash: Chunking test 2 failed for sha1-s390
Feb 18 10:22:13 h4245005 kernel: 00000000: 4a d0 d6 bd 53 2b 6b df cd 34 b9 60 d1 90 85 d0
Feb 18 10:22:13 h4245005 kernel: 00000010: 38 70 2b 41
With the patch applied nothing shows up in dmesg.
--Jan
Thanks!