Commit 54216bbd76aa394c93a9e92c0a2e3b314391b134
Committed by
Herbert Xu
1 parent
d8a32ac256
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
crypto: tcrypt - add missing tests for camellia and ghash
Add missing tests for ctr(camellia), lrw(camellia), xts(camellia) and ghash, as these have test vectors available. Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff
crypto/tcrypt.c
... | ... | @@ -1112,6 +1112,9 @@ |
1112 | 1112 | case 32: |
1113 | 1113 | ret += tcrypt_test("ecb(camellia)"); |
1114 | 1114 | ret += tcrypt_test("cbc(camellia)"); |
1115 | + ret += tcrypt_test("ctr(camellia)"); | |
1116 | + ret += tcrypt_test("lrw(camellia)"); | |
1117 | + ret += tcrypt_test("xts(camellia)"); | |
1115 | 1118 | break; |
1116 | 1119 | case 33: |
1117 | 1120 | ret += tcrypt_test("sha224"); |
... | ... | @@ -1163,6 +1166,10 @@ |
1163 | 1166 | |
1164 | 1167 | case 45: |
1165 | 1168 | ret += tcrypt_test("rfc4309(ccm(aes))"); |
1169 | + break; | |
1170 | + | |
1171 | + case 46: | |
1172 | + ret += tcrypt_test("ghash"); | |
1166 | 1173 | break; |
1167 | 1174 | |
1168 | 1175 | case 100: |