Bug when modprobing tcrypt

2009-06-29 Thread Eric Sesterhenn
Hi, i can repeatedly trigger the following bug when modprobing tcrypt to test the crypto algorithms with todays -git [ 122.967099] BUG: sleeping function called from invalid context at kernel/rwsem.c:21 [ 122.967398] in_atomic(): 1, irqs_disabled(): 0, pid: 4926, name: modprobe [ 122.967643] I

BUG in scatterlist.h when loading tcrypt

2008-06-02 Thread Eric Sesterhenn
Hi, i guess this shouldnt happen, got this when loading the tcrypt module [ 60.113277] testing ecb(seed) decryption across pages (chunking) [ 60.113309] [ 60.113311] testing cts(cbc(aes)) encryption [ 60.120984] test 1 (128 bit key): [ 60.121153] [ cut here ] [

Dead code in crypto/tcrypt.c

2006-09-26 Thread Eric Sesterhenn
hi, the following commit added some code in test_hash_cycles() which coverity flags as dead code. http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e9d41164e2fdd897fe4520c2079eaf6e0ec3 The culprit are the following lines: for (i = 0; i < 4; i++) {