Re: [PATCH] crypto: Update stdrng test name so that the testmgr finds it properly

2009-07-01 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2009-07-02 08:02:55 [+0200]: >* Neil Horman | 2009-07-01 11:52:19 [-0400]: > >>index f9bea9d..3315a38 100644 >>--- a/crypto/testmgr.c >>+++ b/crypto/testmgr.c >>@@ -1480,7 +1480,7 @@ static int alg_test_cprng(const struct alg_test_desc >>*desc, const char *driver, >>

Re: [PATCH] crypto: Update stdrng test name so that the testmgr finds it properly

2009-07-01 Thread Sebastian Andrzej Siewior
* Neil Horman | 2009-07-01 11:52:19 [-0400]: >Fix crypto testmgr reference to rng self tests. > >It seems the ansi_cprng self tests get skipped currently. It appears this is >because the test name is "ansi_cprng", but the test is looked up by the >cra_name >value of the algorithm in question, an

[PATCH] crypto: Update stdrng test name so that the testmgr finds it properly

2009-07-01 Thread Neil Horman
Fix crypto testmgr reference to rng self tests. It seems the ansi_cprng self tests get skipped currently. It appears this is because the test name is "ansi_cprng", but the test is looked up by the cra_name value of the algorithm in question, and ansi_cprng registers its cra_name as stdrng. This

Re: [PATCH v2] crypto/ansi prng: alloc cipher just in in init()

2009-07-01 Thread Neil Horman
On Wed, Jul 01, 2009 at 09:25:17AM +0200, Sebastian Andrzej Siewior wrote: > * Neil Horman | 2009-06-30 20:06:48 [-0400]: > > >I think this looks better, yeah, have you tested this? If not, give it a > >quick > >run please, and I'll ack it. > I've built it and started > | modprobe tcrypt mode=15

Re: [PATCH v2] crypto/ansi prng: alloc cipher just in in init()

2009-07-01 Thread Sebastian Andrzej Siewior
* Neil Horman | 2009-06-30 20:06:48 [-0400]: >I think this looks better, yeah, have you tested this? If not, give it a quick >run please, and I'll ack it. I've built it and started | modprobe tcrypt mode=150 and I ended up with: | alg: No test for stdrng (ansi_cprng) So this should be fine I gue