get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/127645/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 127645,
    "url": "http://patchwork.dpdk.org/api/patches/127645/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230528173531.263548-4-arkadiuszx.kusztal@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20230528173531.263548-4-arkadiuszx.kusztal@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230528173531.263548-4-arkadiuszx.kusztal@intel.com",
    "date": "2023-05-28T17:35:30",
    "name": "[v2,3/4] app/test: refactor mod inv tests",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "779a2dcfb9a068c190257a2d733956beca1c799d",
    "submitter": {
        "id": 452,
        "url": "http://patchwork.dpdk.org/api/people/452/?format=api",
        "name": "Arkadiusz Kusztal",
        "email": "arkadiuszx.kusztal@intel.com"
    },
    "delegate": {
        "id": 6690,
        "url": "http://patchwork.dpdk.org/api/users/6690/?format=api",
        "username": "akhil",
        "first_name": "akhil",
        "last_name": "goyal",
        "email": "gakhil@marvell.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230528173531.263548-4-arkadiuszx.kusztal@intel.com/mbox/",
    "series": [
        {
            "id": 28222,
            "url": "http://patchwork.dpdk.org/api/series/28222/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28222",
            "date": "2023-05-28T17:35:27",
            "name": "Replace obsolote test cases.",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/28222/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/127645/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/127645/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 9F71442BC4;\n\tSun, 28 May 2023 19:36:04 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D55FF42D39;\n\tSun, 28 May 2023 19:35:47 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 8553342B7E\n for <dev@dpdk.org>; Sun, 28 May 2023 19:35:45 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 May 2023 10:35:45 -0700",
            "from silpixa00401012.ir.intel.com ([10.243.22.82])\n by orsmga001.jf.intel.com with ESMTP; 28 May 2023 10:35:43 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1685295345; x=1716831345;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=eQoCIbJ4Iuujb53MIo6aqnUyqjsnJk/bHbAa38C+dnA=;\n b=gpFNOIdk4YqffcbsOe1eJ5QGr2aB4Q7IlX/wJqXo1Hk2ieso3j/5fU+f\n FD92rKIptmbugWBmocY+UvNU9MGkrbVQF5h6bxPqSpFn9gzSY4+sr+HFZ\n 8CgEmes2kgb+ZWMtBfrv2X7Zqob9cGgJmYXC3Qkfimz+az4eALSNpwVUX\n Ivz1s24rgPwXdswvT3a+/RgHf0C2ETEZeIPrAcz6EgZ9CHfW0ZBFWkQcC\n xAyr3H/uT8xYMHjSNtV9bwJ5evxrX5dis3DY+i2HQkRngVZZ2zur0yASn\n bkOnuSHdxv4SVClh2gyJMOmsy1upqUY9dijuaqMsjV293hibvkeI5V65M g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10724\"; a=\"344041616\"",
            "E=Sophos;i=\"6.00,198,1681196400\"; d=\"scan'208\";a=\"344041616\"",
            "E=McAfee;i=\"6600,9927,10724\"; a=\"738892665\"",
            "E=Sophos;i=\"6.00,198,1681196400\"; d=\"scan'208\";a=\"738892665\""
        ],
        "X-ExtLoop1": "1",
        "From": "Arek Kusztal <arkadiuszx.kusztal@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "gakhil@marvell.com, kai.ji@intel.com, ciara.power@intel.com,\n Arek Kusztal <arkadiuszx.kusztal@intel.com>",
        "Subject": "[PATCH v2 3/4] app/test: refactor mod inv tests",
        "Date": "Sun, 28 May 2023 17:35:30 +0000",
        "Message-Id": "<20230528173531.263548-4-arkadiuszx.kusztal@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230528173531.263548-1-arkadiuszx.kusztal@intel.com>",
        "References": "<20230528173531.263548-1-arkadiuszx.kusztal@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org"
    },
    "content": "Added new modular multiplicative inverse function.\nNow it handles changes to the generic setup.\n\nSigned-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com>\nAcked-by: Ciara Power <ciara.power@intel.com>\n---\n app/test/test_cryptodev_asym.c             | 144 ++++++---------------\n app/test/test_cryptodev_asym_util.h        |   9 --\n app/test/test_cryptodev_mod_test_vectors.h |  64 +--------\n 3 files changed, 45 insertions(+), 172 deletions(-)",
    "diff": "diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c\nindex dd670305ab..7a0124d7c7 100644\n--- a/app/test/test_cryptodev_asym.c\n+++ b/app/test/test_cryptodev_asym.c\n@@ -594,17 +594,6 @@ static int\n load_test_vectors(void)\n {\n \tuint32_t i = 0, v_size = 0;\n-\t/* Load MODINV vector*/\n-\tv_size = RTE_DIM(modinv_test_case);\n-\tfor (i = 0; i < v_size; i++) {\n-\t\tif (test_vector.size >= (TEST_VECTOR_SIZE)) {\n-\t\t\tRTE_LOG(DEBUG, USER1,\n-\t\t\t\t\"TEST_VECTOR_SIZE too small\\n\");\n-\t\t\treturn -1;\n-\t\t}\n-\t\ttest_vector.address[test_vector.size] = &modinv_test_case[i];\n-\t\ttest_vector.size++;\n-\t}\n \t/* Load RSA vector*/\n \tv_size = RTE_DIM(rsa_test_case_list);\n \tfor (i = 0; i < v_size; i++) {\n@@ -1339,32 +1328,26 @@ test_dh_gen_kp(struct rte_crypto_asym_xform *xfrm)\n }\n \n static int\n-test_mod_inv(void)\n+modular_multiplicative_inverse(const void *test_data)\n {\n-\tstruct rte_mempool *op_mpool = params->op_mpool;\n-\tstruct rte_mempool *sess_mpool = params->session_mpool;\n-\tuint8_t dev_id = params->valid_devs[0];\n-\tstruct rte_crypto_asym_op *asym_op = NULL;\n-\tstruct rte_crypto_op *op = NULL, *result_op = NULL;\n-\tvoid *sess = NULL;\n-\tint status = TEST_SUCCESS;\n+\tconst struct modinv_test_data *vector = test_data;\n+\tuint8_t input[TEST_DATA_SIZE] = { 0 };\n+\tuint8_t modulus[TEST_DATA_SIZE] = { 0 };\n+\tuint8_t result[TEST_DATA_SIZE] = { 0 };\n \tstruct rte_cryptodev_asym_capability_idx cap_idx;\n \tconst struct rte_cryptodev_asymmetric_xform_capability *capability;\n-\tuint8_t input[TEST_DATA_SIZE] = {0};\n-\tint ret = 0;\n-\tuint8_t result[sizeof(mod_p)] = { 0 };\n+\tstruct rte_crypto_asym_xform xform = { };\n+\tconst uint8_t dev_id = params->valid_devs[0];\n \n-\tif (rte_cryptodev_asym_get_xform_enum(\n-\t\t&modinv_xform.xform_type, \"modinv\") < 0) {\n-\t\tRTE_LOG(ERR, USER1,\n-\t\t\t\t \"Invalid ASYM algorithm specified\\n\");\n-\t\treturn -1;\n-\t}\n+\tmemcpy(input, vector->base.data, vector->base.len);\n+\tmemcpy(modulus, vector->modulus.data, vector->modulus.len);\n \n-\tcap_idx.type = modinv_xform.xform_type;\n+\txform.xform_type = RTE_CRYPTO_ASYM_XFORM_MODINV;\n+\txform.modex.modulus.data = modulus;\n+\txform.modex.modulus.length = vector->modulus.len;\n+\tcap_idx.type = xform.xform_type;\n \tcapability = rte_cryptodev_asym_capability_get(dev_id,\n \t\t\t\t\t&cap_idx);\n-\n \tif (capability == NULL) {\n \t\tRTE_LOG(INFO, USER1,\n \t\t\t\"Device doesn't support MOD INV. Test Skipped\\n\");\n@@ -1372,81 +1355,31 @@ test_mod_inv(void)\n \t}\n \n \tif (rte_cryptodev_asym_xform_capability_check_modlen(\n-\t\tcapability,\n-\t\tmodinv_xform.modinv.modulus.length)) {\n+\t\t\tcapability,\n+\t\t\txform.modinv.modulus.length)) {\n \t\tRTE_LOG(ERR, USER1,\n-\t\t\t\t \"Invalid MODULUS length specified\\n\");\n-\t\t\t\treturn TEST_SKIPPED;\n-\t\t}\n-\n-\tret = rte_cryptodev_asym_session_create(dev_id, &modinv_xform, sess_mpool, &sess);\n-\tif (ret < 0) {\n-\t\tRTE_LOG(ERR, USER1, \"line %u \"\n-\t\t\t\t\"FAILED: %s\", __LINE__,\n-\t\t\t\t\"Session creation failed\");\n-\t\tstatus = (ret == -ENOTSUP) ? TEST_SKIPPED : TEST_FAILED;\n-\t\tgoto error_exit;\n-\t}\n-\n-\t/* generate crypto op data structure */\n-\top = rte_crypto_op_alloc(op_mpool, RTE_CRYPTO_OP_TYPE_ASYMMETRIC);\n-\tif (!op) {\n-\t\tRTE_LOG(ERR, USER1,\n-\t\t\t\"line %u FAILED: %s\",\n-\t\t\t__LINE__, \"Failed to allocate asymmetric crypto \"\n-\t\t\t\"operation struct\");\n-\t\tstatus = TEST_FAILED;\n-\t\tgoto error_exit;\n-\t}\n-\n-\tasym_op = op->asym;\n-\tmemcpy(input, base, sizeof(base));\n-\tasym_op->modinv.base.data = input;\n-\tasym_op->modinv.base.length = sizeof(base);\n-\tasym_op->modinv.result.data = result;\n-\tasym_op->modinv.result.length = sizeof(result);\n-\n-\t/* attach asymmetric crypto session to crypto operations */\n-\trte_crypto_op_attach_asym_session(op, sess);\n-\n-\tRTE_LOG(DEBUG, USER1, \"Process ASYM operation\");\n-\n-\t/* Process crypto operation */\n-\tif (rte_cryptodev_enqueue_burst(dev_id, 0, &op, 1) != 1) {\n-\t\tRTE_LOG(ERR, USER1,\n-\t\t\t\"line %u FAILED: %s\",\n-\t\t\t__LINE__, \"Error sending packet for operation\");\n-\t\tstatus = TEST_FAILED;\n-\t\tgoto error_exit;\n-\t}\n-\n-\twhile (rte_cryptodev_dequeue_burst(dev_id, 0, &result_op, 1) == 0)\n-\t\trte_pause();\n-\n-\tif (result_op == NULL) {\n-\t\tRTE_LOG(ERR, USER1,\n-\t\t\t\t\"line %u FAILED: %s\",\n-\t\t\t\t__LINE__, \"Failed to process asym crypto op\");\n-\t\tstatus = TEST_FAILED;\n-\t\tgoto error_exit;\n+\t\t\t \"Invalid MODULUS length specified\\n\");\n+\t\treturn TEST_SKIPPED;\n \t}\n-\n-\tret = verify_modinv(mod_inv, result_op);\n-\tif (ret) {\n-\t\tRTE_LOG(ERR, USER1,\n-\t\t\t \"operation verification failed\\n\");\n-\t\tstatus = TEST_FAILED;\n+\tif (rte_cryptodev_asym_session_create(dev_id, &xform,\n+\t\t\tparams->session_mpool, &self->sess) < 0) {\n+\t\tRTE_LOG(ERR, USER1, \"line %u FAILED: Session creation failed\",\n+\t\t\t__LINE__);\n+\t\treturn TEST_FAILED;\n \t}\n+\trte_crypto_op_attach_asym_session(self->op, self->sess);\n \n-error_exit:\n-\tif (sess)\n-\t\trte_cryptodev_asym_session_free(dev_id, sess);\n-\n-\trte_crypto_op_free(op);\n-\n-\tTEST_ASSERT_EQUAL(status, 0, \"Test failed\");\n+\tself->op->asym->modinv.base.data = input;\n+\tself->op->asym->modinv.base.length = vector->base.len;\n+\tself->op->asym->modinv.result.data = result;\n \n-\treturn status;\n+\tTEST_ASSERT_SUCCESS(send(&self->op, &self->result_op),\n+\t\t\"Failed to process crypto op\");\n+\tTEST_ASSERT_BUFFERS_ARE_EQUAL(vector->inverse.data,\n+\t\tself->result_op->asym->modinv.result.data,\n+\t\tself->result_op->asym->modinv.result.length,\n+\t\t\"operation verification failed\\n\");\n+\treturn TEST_SUCCESS;\n }\n \n static int\n@@ -2142,7 +2075,6 @@ static struct unit_test_suite cryptodev_openssl_asym_testsuite  = {\n \t\t\t\ttest_rsa_enc_dec_crt),\n \t\tTEST_CASE_ST(setup_generic, teardown_generic,\n \t\t\t\ttest_rsa_sign_verify_crt),\n-\t\tTEST_CASE_ST(setup_generic, teardown_generic, test_mod_inv),\n \t\tTEST_CASE_ST(setup_generic, teardown_generic, test_one_by_one),\n \t\t/* Modular Exponentiation */\n \t\tTEST_CASE_NAMED_WITH_DATA(\n@@ -2161,6 +2093,11 @@ static struct unit_test_suite cryptodev_openssl_asym_testsuite  = {\n \t\t\t\"Modular Exponentiation (mod=448, base=50, exp=40, res=448)\",\n \t\t\tsetup_generic, teardown_generic,\n \t\t\tmodular_exponentiation, &modex_test_case_m448_b50_e40),\n+\t\t/* Modular Multiplicative Inverse */\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Modular Inverse (mod=128, base=20, exp=3, inv=128)\",\n+\t\t\tsetup_generic, teardown_generic,\n+\t\t\tmodular_multiplicative_inverse, &modinv_test_case),\n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n \t}\n };\n@@ -2188,6 +2125,11 @@ static struct unit_test_suite cryptodev_qat_asym_testsuite  = {\n \t\t\t\"Modular Exponentiation (mod=448, base=50, exp=40, res=448)\",\n \t\t\tsetup_generic, teardown_generic,\n \t\t\tmodular_exponentiation, &modex_test_case_m448_b50_e40),\n+\t\t/* Modular Multiplicative Inverse */\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Modular Inverse (mod=128, base=20, exp=3, inv=128)\",\n+\t\t\tsetup_generic, teardown_generic,\n+\t\t\tmodular_multiplicative_inverse, &modinv_test_case),\n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n \t}\n };\ndiff --git a/app/test/test_cryptodev_asym_util.h b/app/test/test_cryptodev_asym_util.h\nindex 8bdff2ddf8..19044a58ad 100644\n--- a/app/test/test_cryptodev_asym_util.h\n+++ b/app/test/test_cryptodev_asym_util.h\n@@ -17,15 +17,6 @@ static inline int rsa_verify(struct rsa_test_data *rsa_param,\n \treturn 0;\n }\n \n-static inline int verify_modinv(uint8_t *mod_inv,\n-\t\tstruct rte_crypto_op *result_op)\n-{\n-\tif (memcmp(mod_inv, result_op->asym->modinv.result.data,\n-\t\t\t\tresult_op->asym->modinv.result.length))\n-\t\treturn -1;\n-\treturn 0;\n-}\n-\n static inline int verify_ecdsa_sign(uint8_t *sign_r,\n \t\tuint8_t *sign_s, struct rte_crypto_op *result_op)\n {\ndiff --git a/app/test/test_cryptodev_mod_test_vectors.h b/app/test/test_cryptodev_mod_test_vectors.h\nindex aa5f3e5334..079d562c51 100644\n--- a/app/test/test_cryptodev_mod_test_vectors.h\n+++ b/app/test/test_cryptodev_mod_test_vectors.h\n@@ -420,9 +420,9 @@ modex_test_data modex_test_case_m448_b50_e40 = {\n \t.result_len = 448\n };\n \n+/* ModInv #1 */\n static const struct\n-modinv_test_data modinv_test_case[] = {\n-{\n+modinv_test_data modinv_test_case = {\n \t.description = \"Modular Inverse (mod=128, base=20, exp=3, inv=128)\",\n \t.xform_type = RTE_CRYPTO_ASYM_XFORM_MODINV,\n \t.base = {\n@@ -476,66 +476,6 @@ modinv_test_data modinv_test_case[] = {\n \t\t.len = 128\n \t},\n \t.result_len = 128\n-}\n-};\n-\n-/* modular operation test data */\n-uint8_t base[] = {\n-\t0xF8, 0xBA, 0x1A, 0x55, 0xD0, 0x2F, 0x85,\n-\t0xAE, 0x96, 0x7B, 0xB6, 0x2F, 0xB6, 0xCD,\n-\t0xA8, 0xEB, 0x7E, 0x78, 0xA0, 0x50\n-};\n-\n-/* MODEX data. 8< */\n-uint8_t mod_p[] = {\n-\t0x00, 0xb3, 0xa1, 0xaf, 0xb7, 0x13, 0x08, 0x00,\n-\t0x0a, 0x35, 0xdc, 0x2b, 0x20, 0x8d, 0xa1, 0xb5,\n-\t0xce, 0x47, 0x8a, 0xc3, 0x80, 0xf4, 0x7d, 0x4a,\n-\t0xa2, 0x62, 0xfd, 0x61, 0x7f, 0xb5, 0xa8, 0xde,\n-\t0x0a, 0x17, 0x97, 0xa0, 0xbf, 0xdf, 0x56, 0x5a,\n-\t0x3d, 0x51, 0x56, 0x4f, 0x70, 0x70, 0x3f, 0x63,\n-\t0x6a, 0x44, 0x5b, 0xad, 0x84, 0x0d, 0x3f, 0x27,\n-\t0x6e, 0x3b, 0x34, 0x91, 0x60, 0x14, 0xb9, 0xaa,\n-\t0x72, 0xfd, 0xa3, 0x64, 0xd2, 0x03, 0xa7, 0x53,\n-\t0x87, 0x9e, 0x88, 0x0b, 0xc1, 0x14, 0x93, 0x1a,\n-\t0x62, 0xff, 0xb1, 0x5d, 0x74, 0xcd, 0x59, 0x63,\n-\t0x18, 0x11, 0x3d, 0x4f, 0xba, 0x75, 0xd4, 0x33,\n-\t0x4e, 0x23, 0x6b, 0x7b, 0x57, 0x44, 0xe1, 0xd3,\n-\t0x03, 0x13, 0xa6, 0xf0, 0x8b, 0x60, 0xb0, 0x9e,\n-\t0xee, 0x75, 0x08, 0x9d, 0x71, 0x63, 0x13, 0xcb,\n-\t0xa6, 0x81, 0x92, 0x14, 0x03, 0x22, 0x2d, 0xde,\n-\t0x55\n-};\n-\n-/* Precomputed modular inverse for verification */\n-uint8_t mod_inv[] = {\n-\t0x52, 0xb1, 0xa3, 0x8c, 0xc5, 0x8a, 0xb9, 0x1f,\n-\t0xb6, 0x82, 0xf5, 0x6a, 0x9a, 0xde, 0x8d, 0x2e,\n-\t0x62, 0x4b, 0xac, 0x49, 0x21, 0x1d, 0x30, 0x4d,\n-\t0x32, 0xac, 0x1f, 0x40, 0x6d, 0x52, 0xc7, 0x9b,\n-\t0x6c, 0x0a, 0x82, 0x3a, 0x2c, 0xaf, 0x6b, 0x6d,\n-\t0x17, 0xbe, 0x43, 0xed, 0x97, 0x78, 0xeb, 0x4c,\n-\t0x92, 0x6f, 0xcf, 0xed, 0xb1, 0x09, 0xcb, 0x27,\n-\t0xc2, 0xde, 0x62, 0xfd, 0x21, 0xe6, 0xbd, 0x4f,\n-\t0xfe, 0x7a, 0x1b, 0x50, 0xfe, 0x10, 0x4a, 0xb0,\n-\t0xb7, 0xcf, 0xdb, 0x7d, 0xca, 0xc2, 0xf0, 0x1c,\n-\t0x39, 0x48, 0x6a, 0xb5, 0x4d, 0x8c, 0xfe, 0x63,\n-\t0x91, 0x9c, 0x21, 0xc3, 0x0e, 0x76, 0xad, 0x44,\n-\t0x8d, 0x54, 0x33, 0x99, 0xe1, 0x80, 0x19, 0xba,\n-\t0xb5, 0xac, 0x7d, 0x9c, 0xce, 0x91, 0x2a, 0xd9,\n-\t0x2c, 0xe1, 0x16, 0xd6, 0xd7, 0xcf, 0x9d, 0x05,\n-\t0x9a, 0x66, 0x9a, 0x3a, 0xc1, 0xb8, 0x4b, 0xc3\n-};\n-\n-struct rte_crypto_asym_xform modinv_xform = {\n-\t.next = NULL,\n-\t.xform_type = RTE_CRYPTO_ASYM_XFORM_MODINV,\n-\t.modinv = {\n-\t\t.modulus = {\n-\t\t\t.data = mod_p,\n-\t\t\t.length = sizeof(mod_p)\n-\t\t}\n-\t}\n };\n \n #endif /* TEST_CRYPTODEV_MOD_TEST_VECTORS_H__ */\n",
    "prefixes": [
        "v2",
        "3/4"
    ]
}