@@ -1465,6 +1465,10 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
ret += tcrypt_test("crct10dif");
break;
+ case 48:
+ ret += tcrypt_test("xgene(crc32c)");
+ break;
+
case 100:
ret += tcrypt_test("hmac(md5)");
break;
@@ -3748,6 +3748,15 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
+ .alg = "xgene(crc32c)",
+ .test = alg_test_hash,
+ .suite = {
+ .hash = {
+ .vecs = crc32c_tv_template,
+ .count = CRC32C_TEST_VECTORS
+ }
+ }
+ }, {
.alg = "xts(aes)",
.test = alg_test_skcipher,
.fips_allowed = 1,
This patch adds test case for APM X-Gene SoC CRC32C algorithm. Signed-off-by: Rameshwar Prasad Sahu <rsahu@apm.com> --- crypto/tcrypt.c | 4 ++++ crypto/testmgr.c | 9 +++++++++ 2 files changed, 13 insertions(+) -- 1.8.2.1 -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html