]> git.droids-corp.org - dpdk.git/blobdiff - examples/fips_validation/fips_validation.c
examples/fips_validation: implement JSON CMAC test
[dpdk.git] / examples / fips_validation / fips_validation.c
index 6594a155795845a7c8ce91e209c2077cd9f7a7fb..e8520f59cf988610b5de2e18e1af1f0c0a0924fc 100644 (file)
@@ -458,6 +458,8 @@ fips_test_parse_one_json_vector_set(void)
        /* Vector sets contain the algorithm type, and nothing else we need. */
        if (strstr(algo_str, "AES-GCM"))
                info.algo = FIPS_TEST_ALGO_AES_GCM;
+       if (strstr(algo_str, "HMAC"))
+               info.algo = FIPS_TEST_ALGO_HMAC;
        else
                return -EINVAL;