get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 132160,
    "url": "http://patchwork.dpdk.org/api/patches/132160/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230928170920.1454-3-gmuthukrishn@marvell.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": "<20230928170920.1454-3-gmuthukrishn@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230928170920.1454-3-gmuthukrishn@marvell.com",
    "date": "2023-09-28T17:09:15",
    "name": "[v3,2/7] cryptodev: add hash algorithms in asymmetric capability",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "592a38dea6c96c8c6dd180f15a80047f4a7677b4",
    "submitter": {
        "id": 2301,
        "url": "http://patchwork.dpdk.org/api/people/2301/?format=api",
        "name": "Gowrishankar Muthukrishnan",
        "email": "gmuthukrishn@marvell.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/20230928170920.1454-3-gmuthukrishn@marvell.com/mbox/",
    "series": [
        {
            "id": 29687,
            "url": "http://patchwork.dpdk.org/api/series/29687/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=29687",
            "date": "2023-09-28T17:09:13",
            "name": "cryptodev: support digest message in SM2",
            "version": 3,
            "mbox": "http://patchwork.dpdk.org/series/29687/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/132160/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/132160/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 4C42442659;\n\tThu, 28 Sep 2023 19:09:43 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 8368740A7D;\n\tThu, 28 Sep 2023 19:09:37 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 15C834021E\n for <dev@dpdk.org>; Thu, 28 Sep 2023 19:09:35 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 38SFhJ4x002527; Thu, 28 Sep 2023 10:09:35 -0700",
            "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3tcrrs4m3s-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 28 Sep 2023 10:09:35 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Thu, 28 Sep 2023 10:09:33 -0700",
            "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Thu, 28 Sep 2023 10:09:33 -0700",
            "from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34])\n by maili.marvell.com (Postfix) with ESMTP id 7FF9A3F703F;\n Thu, 28 Sep 2023 10:09:30 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=Qk9CB5iPTSjKf7zUFMuhkataAEX+JBWm85AnwuwfVOY=;\n b=TBAIiupAJGxiw+FDDhM8WMpMWV8qOSn2VKTtMtgCNldNXL3dE1qEno0KVRbnMP40L3BF\n GW/aPLS5NrGxJ2ii4xWpamf7Z2BHWEjGu4lOMqniiQBhhz4TQ6O3GdStuREyMRpyWa6l\n lAiAbv407TPKFGld7lXf+Cw2LzZz14py0c8PUGE3LfsqFMvcImCtXDfKSj5lqlHXnk/g\n RWSHEOaMBQ6jC5yyufPaHFcGAt0hhjIXoZofgHQ2nIeay7jj6/uvJiEcaQVdKguh2gJ3\n 4jVzSXn4o1EOGop3WkS/8lJBi6voPv+aVkND/rZtrQj/GGyGiZlzvdvzt/cy+o46Gg4v +A==",
        "From": "Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<anoobj@marvell.com>, Akhil Goyal <gakhil@marvell.com>, Fan Zhang\n <fanzhang.oss@gmail.com>, Kai Ji <kai.ji@intel.com>, Arkadiusz Kusztal\n <arkadiuszx.kusztal@intel.com>, Ciara Power <ciara.power@intel.com>,\n Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>",
        "Subject": "[PATCH v3 2/7] cryptodev: add hash algorithms in asymmetric\n capability",
        "Date": "Thu, 28 Sep 2023 22:39:15 +0530",
        "Message-ID": "<20230928170920.1454-3-gmuthukrishn@marvell.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20230928170920.1454-1-gmuthukrishn@marvell.com>",
        "References": "<20230927113734.1244-1-gmuthukrishn@marvell.com>\n <20230928170920.1454-1-gmuthukrishn@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "hiZxRk3opmu5fc85BooQ3eFx1o8FdwD3",
        "X-Proofpoint-GUID": "hiZxRk3opmu5fc85BooQ3eFx1o8FdwD3",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26\n definitions=2023-09-28_16,2023-09-28_03,2023-05-22_02",
        "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": "Most of the asymmetric operations start with hash of the input.\nBut a PMD might also support only plain input (eg openssl).\nAdd a new field in asymmetric capability to declare support\nfor hash operations that PMD can support for the asymmetric\noperations. Application can skip computing hash if PMD already\nsupports it.\n\nSigned-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com>\n---\n app/test/test_cryptodev_asym.c               | 52 ++++++++++++++++++--\n drivers/crypto/openssl/rte_openssl_pmd_ops.c |  1 +\n lib/cryptodev/cryptodev_trace.h              |  9 ++++\n lib/cryptodev/cryptodev_trace_points.c       |  3 ++\n lib/cryptodev/rte_cryptodev.c                | 16 ++++++\n lib/cryptodev/rte_cryptodev.h                | 19 +++++++\n lib/cryptodev/version.map                    |  1 +\n 7 files changed, 97 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/app/test/test_cryptodev_asym.c b/app/test/test_cryptodev_asym.c\nindex 9820b80f7e..61f65823df 100644\n--- a/app/test/test_cryptodev_asym.c\n+++ b/app/test/test_cryptodev_asym.c\n@@ -1810,8 +1810,10 @@ _test_sm2_sign(bool rnd_secret)\n {\n \tstruct crypto_testsuite_params_asym *ts_params = &testsuite_params;\n \tstruct crypto_testsuite_sm2_params input_params = sm2_param_fp256;\n+\tconst struct rte_cryptodev_asymmetric_xform_capability *capa;\n \tstruct rte_mempool *sess_mpool = ts_params->session_mpool;\n \tstruct rte_mempool *op_mpool = ts_params->op_mpool;\n+\tstruct rte_cryptodev_asym_capability_idx idx;\n \tuint8_t dev_id = ts_params->valid_devs[0];\n \tstruct rte_crypto_op *result_op = NULL;\n \tuint8_t output_buf_r[TEST_DATA_SIZE];\n@@ -1822,6 +1824,12 @@ _test_sm2_sign(bool rnd_secret)\n \tint ret, status = TEST_SUCCESS;\n \tvoid *sess = NULL;\n \n+\t/* Check SM2 capability */\n+\tidx.type = RTE_CRYPTO_ASYM_XFORM_SM2;\n+\tcapa = rte_cryptodev_asym_capability_get(dev_id, &idx);\n+\tif (capa == NULL)\n+\t\treturn -ENOTSUP;\n+\n \t/* Setup crypto op data structure */\n \top = rte_crypto_op_alloc(op_mpool, RTE_CRYPTO_OP_TYPE_ASYMMETRIC);\n \tif (op == NULL) {\n@@ -1838,7 +1846,10 @@ _test_sm2_sign(bool rnd_secret)\n \t/* Setup asym xform */\n \txform.next = NULL;\n \txform.xform_type = RTE_CRYPTO_ASYM_XFORM_SM2;\n-\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\tif (rte_cryptodev_asym_xform_capability_check_hash(capa, RTE_CRYPTO_AUTH_SM3))\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\telse\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_NULL;\n \n \tret = rte_cryptodev_asym_session_create(dev_id, &xform, sess_mpool, &sess);\n \tif (ret < 0) {\n@@ -1993,8 +2004,10 @@ test_sm2_verify(void)\n {\n \tstruct crypto_testsuite_params_asym *ts_params = &testsuite_params;\n \tstruct crypto_testsuite_sm2_params input_params = sm2_param_fp256;\n+\tconst struct rte_cryptodev_asymmetric_xform_capability *capa;\n \tstruct rte_mempool *sess_mpool = ts_params->session_mpool;\n \tstruct rte_mempool *op_mpool = ts_params->op_mpool;\n+\tstruct rte_cryptodev_asym_capability_idx idx;\n \tuint8_t dev_id = ts_params->valid_devs[0];\n \tstruct rte_crypto_op *result_op = NULL;\n \tstruct rte_crypto_asym_xform xform;\n@@ -2003,6 +2016,12 @@ test_sm2_verify(void)\n \tint ret, status = TEST_SUCCESS;\n \tvoid *sess = NULL;\n \n+\t/* Check SM2 capability */\n+\tidx.type = RTE_CRYPTO_ASYM_XFORM_SM2;\n+\tcapa = rte_cryptodev_asym_capability_get(dev_id, &idx);\n+\tif (capa == NULL)\n+\t\treturn -ENOTSUP;\n+\n \t/* Setup crypto op data structure */\n \top = rte_crypto_op_alloc(op_mpool, RTE_CRYPTO_OP_TYPE_ASYMMETRIC);\n \tif (op == NULL) {\n@@ -2019,7 +2038,10 @@ test_sm2_verify(void)\n \t/* Setup asym xform */\n \txform.next = NULL;\n \txform.xform_type = RTE_CRYPTO_ASYM_XFORM_SM2;\n-\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\tif (rte_cryptodev_asym_xform_capability_check_hash(capa, RTE_CRYPTO_AUTH_SM3))\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\telse\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_NULL;\n \n \tret = rte_cryptodev_asym_session_create(dev_id, &xform, sess_mpool, &sess);\n \tif (ret < 0) {\n@@ -2094,9 +2116,11 @@ _test_sm2_enc(bool rnd_secret)\n {\n \tstruct crypto_testsuite_params_asym *ts_params = &testsuite_params;\n \tstruct crypto_testsuite_sm2_params input_params = sm2_param_fp256;\n+\tconst struct rte_cryptodev_asymmetric_xform_capability *capa;\n \tstruct rte_mempool *sess_mpool = ts_params->session_mpool;\n \tstruct rte_mempool *op_mpool = ts_params->op_mpool;\n \tuint8_t output_buf[TEST_DATA_SIZE], *pbuf = NULL;\n+\tstruct rte_cryptodev_asym_capability_idx idx;\n \tuint8_t dev_id = ts_params->valid_devs[0];\n \tstruct rte_crypto_op *result_op = NULL;\n \tstruct rte_crypto_asym_xform xform;\n@@ -2105,6 +2129,12 @@ _test_sm2_enc(bool rnd_secret)\n \tint ret, status = TEST_SUCCESS;\n \tvoid *sess = NULL;\n \n+\t/* Check SM2 capability */\n+\tidx.type = RTE_CRYPTO_ASYM_XFORM_SM2;\n+\tcapa = rte_cryptodev_asym_capability_get(dev_id, &idx);\n+\tif (capa == NULL)\n+\t\treturn -ENOTSUP;\n+\n \t/* Setup crypto op data structure */\n \top = rte_crypto_op_alloc(op_mpool, RTE_CRYPTO_OP_TYPE_ASYMMETRIC);\n \tif (op == NULL) {\n@@ -2120,7 +2150,10 @@ _test_sm2_enc(bool rnd_secret)\n \t/* Setup asym xform */\n \txform.next = NULL;\n \txform.xform_type = RTE_CRYPTO_ASYM_XFORM_SM2;\n-\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\tif (rte_cryptodev_asym_xform_capability_check_hash(capa, RTE_CRYPTO_AUTH_SM3))\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\telse\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_NULL;\n \n \tret = rte_cryptodev_asym_session_create(dev_id, &xform, sess_mpool, &sess);\n \tif (ret < 0) {\n@@ -2273,8 +2306,10 @@ test_sm2_dec(void)\n {\n \tstruct crypto_testsuite_params_asym *ts_params = &testsuite_params;\n \tstruct crypto_testsuite_sm2_params input_params = sm2_param_fp256;\n+\tconst struct rte_cryptodev_asymmetric_xform_capability *capa;\n \tstruct rte_mempool *sess_mpool = ts_params->session_mpool;\n \tstruct rte_mempool *op_mpool = ts_params->op_mpool;\n+\tstruct rte_cryptodev_asym_capability_idx idx;\n \tuint8_t dev_id = ts_params->valid_devs[0];\n \tstruct rte_crypto_op *result_op = NULL;\n \tuint8_t output_buf_m[TEST_DATA_SIZE];\n@@ -2284,6 +2319,12 @@ test_sm2_dec(void)\n \tint ret, status = TEST_SUCCESS;\n \tvoid *sess = NULL;\n \n+\t/* Check SM2 capability */\n+\tidx.type = RTE_CRYPTO_ASYM_XFORM_SM2;\n+\tcapa = rte_cryptodev_asym_capability_get(dev_id, &idx);\n+\tif (capa == NULL)\n+\t\treturn -ENOTSUP;\n+\n \t/* Setup crypto op data structure */\n \top = rte_crypto_op_alloc(op_mpool, RTE_CRYPTO_OP_TYPE_ASYMMETRIC);\n \tif (op == NULL) {\n@@ -2299,7 +2340,10 @@ test_sm2_dec(void)\n \t/* Setup asym xform */\n \txform.next = NULL;\n \txform.xform_type = RTE_CRYPTO_ASYM_XFORM_SM2;\n-\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\tif (rte_cryptodev_asym_xform_capability_check_hash(capa, RTE_CRYPTO_AUTH_SM3))\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_SM3;\n+\telse\n+\t\txform.sm2.hash = RTE_CRYPTO_AUTH_NULL;\n \n \tret = rte_cryptodev_asym_session_create(dev_id, &xform, sess_mpool, &sess);\n \tif (ret < 0) {\ndiff --git a/drivers/crypto/openssl/rte_openssl_pmd_ops.c b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\nindex 2eb450fcfd..d5dc365064 100644\n--- a/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n+++ b/drivers/crypto/openssl/rte_openssl_pmd_ops.c\n@@ -598,6 +598,7 @@ static const struct rte_cryptodev_capabilities openssl_pmd_capabilities[] = {\n \t\t{.asym = {\n \t\t\t.xform_capa = {\n \t\t\t\t.xform_type = RTE_CRYPTO_ASYM_XFORM_SM2,\n+\t\t\t\t.hash_algos = (1 << RTE_CRYPTO_AUTH_SM3),\n \t\t\t\t.op_types =\n \t\t\t\t((1<<RTE_CRYPTO_ASYM_OP_SIGN) |\n \t\t\t\t (1 << RTE_CRYPTO_ASYM_OP_VERIFY) |\ndiff --git a/lib/cryptodev/cryptodev_trace.h b/lib/cryptodev/cryptodev_trace.h\nindex aab44af96b..935f0d564b 100644\n--- a/lib/cryptodev/cryptodev_trace.h\n+++ b/lib/cryptodev/cryptodev_trace.h\n@@ -520,6 +520,15 @@ RTE_TRACE_POINT(\n \trte_trace_point_emit_int(ret);\n )\n \n+RTE_TRACE_POINT(\n+\trte_cryptodev_trace_asym_xform_capability_check_hash,\n+\tRTE_TRACE_POINT_ARGS(uint64_t hash_algos,\n+\t\tenum rte_crypto_auth_algorithm hash, int ret),\n+\trte_trace_point_emit_u64(hash_algos);\n+\trte_trace_point_emit_int(hash);\n+\trte_trace_point_emit_int(ret);\n+)\n+\n RTE_TRACE_POINT(\n \trte_cryptodev_trace_count,\n \tRTE_TRACE_POINT_ARGS(uint8_t nb_devs),\ndiff --git a/lib/cryptodev/cryptodev_trace_points.c b/lib/cryptodev/cryptodev_trace_points.c\nindex e2303fdb52..8c47ab1e78 100644\n--- a/lib/cryptodev/cryptodev_trace_points.c\n+++ b/lib/cryptodev/cryptodev_trace_points.c\n@@ -144,6 +144,9 @@ RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_xform_capability_check_modlen,\n RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_xform_capability_check_optype,\n \tlib.cryptodev.asym.xform.capability.check.optype)\n \n+RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_asym_xform_capability_check_hash,\n+\tlib.cryptodev.asym.xform.capability.check.hash)\n+\n RTE_TRACE_POINT_REGISTER(rte_cryptodev_trace_sym_cpu_crypto_process,\n \tlib.cryptodev.sym.cpu.crypto.process)\n \ndiff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c\nindex c49d342b17..041d3074db 100644\n--- a/lib/cryptodev/rte_cryptodev.c\n+++ b/lib/cryptodev/rte_cryptodev.c\n@@ -718,6 +718,22 @@ rte_cryptodev_asym_xform_capability_check_modlen(\n \treturn ret;\n }\n \n+bool\n+rte_cryptodev_asym_xform_capability_check_hash(\n+\tconst struct rte_cryptodev_asymmetric_xform_capability *capability,\n+\tenum rte_crypto_auth_algorithm hash)\n+{\n+\tbool ret = false;\n+\n+\tif (capability->hash_algos & (1 << hash))\n+\t\tret = true;\n+\n+\trte_cryptodev_trace_asym_xform_capability_check_hash(\n+\t\tcapability->hash_algos, hash, ret);\n+\n+\treturn ret;\n+}\n+\n /* spinlock for crypto device enq callbacks */\n static rte_spinlock_t rte_cryptodev_callback_lock = RTE_SPINLOCK_INITIALIZER;\n \ndiff --git a/lib/cryptodev/rte_cryptodev.h b/lib/cryptodev/rte_cryptodev.h\nindex 9246df90ef..47c6fda25b 100644\n--- a/lib/cryptodev/rte_cryptodev.h\n+++ b/lib/cryptodev/rte_cryptodev.h\n@@ -182,6 +182,9 @@ struct rte_cryptodev_asymmetric_xform_capability {\n \t\t * Value 0 mean implementation default\n \t\t */\n \t};\n+\n+\tuint64_t hash_algos;\n+\t/**< Bitmask of hash algorithms supported for op_type. */\n };\n \n /**\n@@ -340,6 +343,22 @@ rte_cryptodev_asym_xform_capability_check_modlen(\n \tconst struct rte_cryptodev_asymmetric_xform_capability *capability,\n \t\tuint16_t modlen);\n \n+/**\n+ * Check if hash algorithm is supported.\n+ *\n+ * @param\tcapability\tAsymmetric crypto capability.\n+ * @param\thash\t\tHash algorithm.\n+ *\n+ * @return\n+ *   - Return true if the hash algorithm is supported.\n+ *   - Return false if the hash algorithm is not supported.\n+ */\n+__rte_experimental\n+bool\n+rte_cryptodev_asym_xform_capability_check_hash(\n+\tconst struct rte_cryptodev_asymmetric_xform_capability *capability,\n+\tenum rte_crypto_auth_algorithm hash);\n+\n /**\n  * Provide the cipher algorithm enum, given an algorithm string\n  *\ndiff --git a/lib/cryptodev/version.map b/lib/cryptodev/version.map\nindex ae8d9327b4..3c2d1780e0 100644\n--- a/lib/cryptodev/version.map\n+++ b/lib/cryptodev/version.map\n@@ -54,6 +54,7 @@ EXPERIMENTAL {\n \trte_cryptodev_asym_get_xform_enum;\n \trte_cryptodev_asym_session_create;\n \trte_cryptodev_asym_session_free;\n+\trte_cryptodev_asym_xform_capability_check_hash;\n \trte_cryptodev_asym_xform_capability_check_modlen;\n \trte_cryptodev_asym_xform_capability_check_optype;\n \trte_cryptodev_sym_cpu_crypto_process;\n",
    "prefixes": [
        "v3",
        "2/7"
    ]
}