diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2009-03-04 02:42:15 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-04 02:42:15 -0500 |
commit | 0c01aed50d4844f54f59e875e05d211e80874464 (patch) | |
tree | aa80b318c637bce768ff0f659c2affacd410e3ae /crypto/tcrypt.c | |
parent | bf68e65ec9ea61e32ab71bef59aa5d24d255241f (diff) |
crypto: testmgr - add zlib test
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r-- | crypto/tcrypt.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index 28a45a1e6f42..c3c9124209a1 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c | |||
@@ -53,7 +53,7 @@ static char *check[] = { | |||
53 | "cast6", "arc4", "michael_mic", "deflate", "crc32c", "tea", "xtea", | 53 | "cast6", "arc4", "michael_mic", "deflate", "crc32c", "tea", "xtea", |
54 | "khazad", "wp512", "wp384", "wp256", "tnepres", "xeta", "fcrypt", | 54 | "khazad", "wp512", "wp384", "wp256", "tnepres", "xeta", "fcrypt", |
55 | "camellia", "seed", "salsa20", "rmd128", "rmd160", "rmd256", "rmd320", | 55 | "camellia", "seed", "salsa20", "rmd128", "rmd160", "rmd256", "rmd320", |
56 | "lzo", "cts", NULL | 56 | "lzo", "cts", "zlib", NULL |
57 | }; | 57 | }; |
58 | 58 | ||
59 | static int test_cipher_jiffies(struct blkcipher_desc *desc, int enc, | 59 | static int test_cipher_jiffies(struct blkcipher_desc *desc, int enc, |
@@ -661,6 +661,10 @@ static void do_test(int m) | |||
661 | tcrypt_test("ecb(seed)"); | 661 | tcrypt_test("ecb(seed)"); |
662 | break; | 662 | break; |
663 | 663 | ||
664 | case 44: | ||
665 | tcrypt_test("zlib"); | ||
666 | break; | ||
667 | |||
664 | case 100: | 668 | case 100: |
665 | tcrypt_test("hmac(md5)"); | 669 | tcrypt_test("hmac(md5)"); |
666 | break; | 670 | break; |