diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2013-04-07 16:43:56 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-04-25 21:01:47 +0800 |
commit | cd0082db29d7d97947c28e678d09ab8e0851a194 (patch) | |
tree | a04e5db78c0f136e303b122c549e8a087df59a2e | |
parent | 9136ddacd246c7ea958bb8f10e1b5c216e654ca0 (diff) | |
download | linux-crypto-cd0082db29d7d97947c28e678d09ab8e0851a194.tar.gz linux-crypto-cd0082db29d7d97947c28e678d09ab8e0851a194.zip |
crypto: testmgr - add empty test vectors for null ciphers
Without these, kernel log shows:
[ 5.984881] alg: No test for cipher_null (cipher_null-generic)
[ 5.985096] alg: No test for ecb(cipher_null) (ecb-cipher_null)
[ 5.985170] alg: No test for compress_null (compress_null-generic)
[ 5.985297] alg: No test for digest_null (digest_null-generic)
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/testmgr.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 442ddb46..f37e544d 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -1913,6 +1913,9 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "compress_null", + .test = alg_test_null, + }, { .alg = "crc32c", .test = alg_test_crc32c, .fips_allowed = 1, @@ -2127,6 +2130,9 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "digest_null", + .test = alg_test_null, + }, { .alg = "ecb(__aes-aesni)", .test = alg_test_null, .fips_allowed = 1, @@ -2237,6 +2243,9 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "ecb(cipher_null)", + .test = alg_test_null, + }, { .alg = "ecb(des)", .test = alg_test_skcipher, .fips_allowed = 1, |