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

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

 



* 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 keep this list sorted by algorithm name. */
>> static const struct alg_test_desc alg_test_descs[] = {
>> 	{
>>-		.alg = "ansi_cprng",
>>+		.alg = "stdrng",
>> 		.test = alg_test_cprng,
>> 		.fips_allowed = 1,
>> 		.suite = {
>
>Don't you use this vector for _all_ stdrngs now? krng for instance will
>fail.
This is wrong anyway because the alg field has to be sorted
alphabetically due to the nature of the search function.

Sebastian
--
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