[PATCH 2/2] crypto: testmgr - clean alg_test_null entries in alg_test_descs[]

2012-11-13 Thread Jussi Kivilinna
Currently alg_test_null entries set .suite values to zero, which is unneeded.
So perform clean-up of null test entries.

Signed-off-by: Jussi Kivilinna 
---
 crypto/testmgr.c |  372 --
 1 file changed, 372 deletions(-)

diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index b8695bf..37b4c07 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -1638,300 +1638,66 @@ static const struct alg_test_desc alg_test_descs[] = {
{
.alg = "__cbc-cast5-avx",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__cbc-cast6-avx",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__cbc-serpent-avx",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__cbc-serpent-sse2",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__cbc-twofish-avx",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__driver-cbc-aes-aesni",
.test = alg_test_null,
.fips_allowed = 1,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__driver-cbc-camellia-aesni",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-   }
-   }
}, {
.alg = "__driver-cbc-cast5-avx",
.test = alg_test_null,
-   .suite = {
-   .cipher = {
-   .enc = {
-   .vecs = NULL,
-   .count = 0
-   },
-   .dec = {
-   .vecs = NULL,
-   .count = 0
-   }
-

Re: [PATCH 2/2] crypto: testmgr - clean alg_test_null entries in alg_test_descs[]

2012-11-13 Thread David Miller
From: Jussi Kivilinna 
Date: Tue, 13 Nov 2012 11:47:37 +0200

> Currently alg_test_null entries set .suite values to zero, which is unneeded.
> So perform clean-up of null test entries.
> 
> Signed-off-by: Jussi Kivilinna 

Acked-by: David S. Miller 
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] crypto: testmgr - clean alg_test_null entries in alg_test_descs[]

2012-12-06 Thread Herbert Xu
On Tue, Nov 13, 2012 at 01:53:45PM -0500, David Miller wrote:
> From: Jussi Kivilinna 
> Date: Tue, 13 Nov 2012 11:47:37 +0200
> 
> > Currently alg_test_null entries set .suite values to zero, which is 
> > unneeded.
> > So perform clean-up of null test entries.
> > 
> > Signed-off-by: Jussi Kivilinna 
> 
> Acked-by: David S. Miller 

Both patches applied.  Thanks!
-- 
Email: Herbert Xu 
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html