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

2009-07-03 Thread Sebastian Andrzej Siewior
* Herbert Xu | 2009-07-02 16:32:59 [+0800]: --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2365,14 +2366,22 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask) } i = alg_find_test(alg); - if (i 0) + j = alg_find_test(driver); + if (i 0 j

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

2009-07-03 Thread Herbert Xu
On Fri, Jul 03, 2009 at 10:59:09PM +0200, Sebastian Andrzej Siewior wrote: -rc = alg_test_descs[i].test(alg_test_descs + i, driver, - type, mask); +rc = 0; +if (i = 0) +rc |= alg_test_descs[i].test(alg_test_descs + i, driver, +

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

2009-07-02 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, /* Please

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

2009-07-02 Thread Herbert Xu
On Thu, Jul 02, 2009 at 08:02:55AM +0200, Sebastian Andrzej Siewior wrote: @@ -1480,7 +1480,7 @@ static int alg_test_cprng(const struct alg_test_desc *desc, const char *driver, /* Please keep this list sorted by algorithm name. */ static const struct alg_test_desc alg_test_descs[] = {

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

2009-07-02 Thread Neil Horman
On Thu, Jul 02, 2009 at 04:32:59PM +0800, Herbert Xu wrote: On Thu, Jul 02, 2009 at 08:02:55AM +0200, Sebastian Andrzej Siewior wrote: @@ -1480,7 +1480,7 @@ static int alg_test_cprng(const struct alg_test_desc *desc, const char *driver, /* Please keep this list sorted by algorithm name.