Commit e448370d7377f064c2fef55f72e9b45184bf0926

Authored by Jussi Kivilinna
Committed by Herbert Xu
1 parent e9b7441a99

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>

Showing 1 changed file with 9 additions and 0 deletions Side-by-side Diff

... ... @@ -1913,6 +1913,9 @@
1913 1913 }
1914 1914 }
1915 1915 }, {
  1916 + .alg = "compress_null",
  1917 + .test = alg_test_null,
  1918 + }, {
1916 1919 .alg = "crc32c",
1917 1920 .test = alg_test_crc32c,
1918 1921 .fips_allowed = 1,
... ... @@ -2127,6 +2130,9 @@
2127 2130 }
2128 2131 }
2129 2132 }, {
  2133 + .alg = "digest_null",
  2134 + .test = alg_test_null,
  2135 + }, {
2130 2136 .alg = "ecb(__aes-aesni)",
2131 2137 .test = alg_test_null,
2132 2138 .fips_allowed = 1,
... ... @@ -2236,6 +2242,9 @@
2236 2242 }
2237 2243 }
2238 2244 }
  2245 + }, {
  2246 + .alg = "ecb(cipher_null)",
  2247 + .test = alg_test_null,
2239 2248 }, {
2240 2249 .alg = "ecb(des)",
2241 2250 .test = alg_test_skcipher,