Commit e448370d authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu

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: default avatarJussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e9b7441a
...@@ -1912,6 +1912,9 @@ static const struct alg_test_desc alg_test_descs[] = { ...@@ -1912,6 +1912,9 @@ static const struct alg_test_desc alg_test_descs[] = {
} }
} }
} }
}, {
.alg = "compress_null",
.test = alg_test_null,
}, { }, {
.alg = "crc32c", .alg = "crc32c",
.test = alg_test_crc32c, .test = alg_test_crc32c,
...@@ -2126,6 +2129,9 @@ static const struct alg_test_desc alg_test_descs[] = { ...@@ -2126,6 +2129,9 @@ static const struct alg_test_desc alg_test_descs[] = {
} }
} }
} }
}, {
.alg = "digest_null",
.test = alg_test_null,
}, { }, {
.alg = "ecb(__aes-aesni)", .alg = "ecb(__aes-aesni)",
.test = alg_test_null, .test = alg_test_null,
...@@ -2236,6 +2242,9 @@ static const struct alg_test_desc alg_test_descs[] = { ...@@ -2236,6 +2242,9 @@ static const struct alg_test_desc alg_test_descs[] = {
} }
} }
} }
}, {
.alg = "ecb(cipher_null)",
.test = alg_test_null,
}, { }, {
.alg = "ecb(des)", .alg = "ecb(des)",
.test = alg_test_skcipher, .test = alg_test_skcipher,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment