X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=app%2Ftest-crypto-perf%2Fmain.c;h=17e30a8e74a30044dfaaa8cab1a81fddaa2b9f4e;hb=baef6bbfad1b9596c7051f5c1fcc308310296342;hp=35a11935256efc575bf155efb9beb3130de5871d;hpb=92d55afe0ffa8e98cee454fa2c6f60c6bec81f04;p=dpdk.git diff --git a/app/test-crypto-perf/main.c b/app/test-crypto-perf/main.c index 35a1193525..17e30a8e74 100644 --- a/app/test-crypto-perf/main.c +++ b/app/test-crypto-perf/main.c @@ -382,7 +382,7 @@ cperf_verify_devices_capabilities(struct cperf_options *opts, return -1; ret = rte_cryptodev_asym_xform_capability_check_modlen( - asym_capability, sizeof(perf_mod_p)); + asym_capability, opts->modex_data->modulus.len); if (ret != 0) return ret;