From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7A7D242F9F; Mon, 31 Jul 2023 08:18:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5461B40A89; Mon, 31 Jul 2023 08:18:45 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2040.outbound.protection.outlook.com [40.107.15.40]) by mails.dpdk.org (Postfix) with ESMTP id 98A3140150 for ; Mon, 31 Jul 2023 08:18:43 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mndD5Htgh3p0qqsrGrEeBXOdddAkP88Z8LBNeZMxABcvc4AP2zvcSexWSuicBLiNZZ28n6+H+9Xfor4Ty6mxyMfKEKr6WtD3gRSGlNp1GZg1l0NP1Be0hqVATwg2XeyS2hfX7ROs/NPsYRsWbzZ575X/3rNfDramqywp3Bck9lGF0hZNzwYc8fjkSbN1iedoe7UwjpqnXLIPCVMlCr3lEKFFl56Iu+fvuz2VR5dpnN4dZkWNL2vHfpZly2auPMdFFew/HMjJMMIFM82XeuZ8znZC/mU7hYtBx4R3T1fYxTAmzpJrK7bzg6N2/Lvt7qCUel1cliMMsUavuPD+9L4PWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TwA0FrbZCcGyE4LHgooR0qMCeZwJGmml0FdyQvG2wWE=; b=PMjitI00UqOVcP3JBJCcHmzQQ6CJvP2GWtHBWk/6nWAhcFZnlaRoQmw8ou4OtV/RfEZ9NgI3WwBPafMYW9PfjCyKBfN/gGwvzNai0oti3eCchbbWG5hpO+6w3q4oISXvVEGvach39Sf3IAD1ESnNyGZ2QLdex1sJwqeHlSsIAQbEXo2IyIB8LGHbaS8mpB0lZEK94q9SJCj7zix0B+mBqlEa/IUyodPGvTubqA5ixyOgL33CPS27kwct0LTx58KC3u4LC7r6DW9tgkfku6jI1EZ7ai8XZ42jQwIrgggToo1GwkHcWAdGt6/l+TDW8l3L2WPWnJuq3T26av+b469NOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TwA0FrbZCcGyE4LHgooR0qMCeZwJGmml0FdyQvG2wWE=; b=Ce2A7iSPSpleY7mv6T6QsT4TCgD4nOIxiGa40rv0/g4PRnD95GPIL08KwceDljJ9nPsriGSvgT/vGj6lwWPc7vRdwZIU3qYm26Rw4hqEnLMw+XzDCxjC0FnjKBC+AjgfPtumu67sfcU9Un1O91tVyKlpPm2J/vOCA4G9pakWB5w= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) by VI1PR04MB6960.eurprd04.prod.outlook.com (2603:10a6:803:12d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.42; Mon, 31 Jul 2023 06:18:39 +0000 Received: from PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::450d:89ac:4f6a:6ae2]) by PAXPR04MB9328.eurprd04.prod.outlook.com ([fe80::450d:89ac:4f6a:6ae2%4]) with mapi id 15.20.6631.042; Mon, 31 Jul 2023 06:18:39 +0000 Message-ID: <9c38e2e3-a5e3-e24d-bb3e-b9d0f7c18f6a@oss.nxp.com> Date: Mon, 31 Jul 2023 11:48:25 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH] cryptodev: remove deprecated algo string arrays To: Akhil Goyal , dev@dpdk.org Cc: thomas@monjalon.net, david.marchand@redhat.com, hemant.agrawal@nxp.com, anoobj@marvell.com, pablo.de.lara.guarch@intel.com, fiona.trahe@intel.com, declan.doherty@intel.com, matan@nvidia.com, g.singh@nxp.com, fanzhang.oss@gmail.com, jianjay.zhou@huawei.com, asomalap@amd.com, ruifeng.wang@arm.com, konstantin.v.ananyev@yandex.ru, radu.nicolau@intel.com, ajit.khaparde@broadcom.com, rnagadheeraj@marvell.com, adwivedi@marvell.com, ciara.power@intel.com References: <20230731033744.926825-1-gakhil@marvell.com> Content-Language: en-US From: Hemant Agrawal In-Reply-To: <20230731033744.926825-1-gakhil@marvell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR01CA0028.apcprd01.prod.exchangelabs.com (2603:1096:4:192::21) To PAXPR04MB9328.eurprd04.prod.outlook.com (2603:10a6:102:2b6::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9328:EE_|VI1PR04MB6960:EE_ X-MS-Office365-Filtering-Correlation-Id: 51f525fc-15c0-43f4-0068-08db918dfb03 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UgPI7ew60Ga27Vh8qt0xgbq2brZ3VNjbhlpHT1yRAd7wrKHw0Ily0epKwMhT4AanAXfAist1mXVJk1t9z5MJvEimwOsAOrawRUc+rtQLg63uA0J4MWOOXU8ecwPPHVoEc2P2cD6XhJ6TLYOvdvaz0THVq55c1XzRkCG+++8CfjtHV6+wPRpPXwgngRBZdI0J1n4RLsUBgC0SwidVvfvfnehpL1/7aUfMQsHs6MkMWsqYgbCiokESs7wHBvqaEVqJSJJa4oLq9V6dRa26J0PDfE/0SZnn5SbVV6Twm6+dz0K+KDYL1C9r1KqkFond+XV9lp26xn9DRVky8cp5CQ3sw04+G5u3H+3Bzxfp8VBXV/1g3pbMyKCjzakEUfbv4TuMpOFA5xOEARRkSyyQopFkh1vPGB668qV4ZMF6LmOWzrFhWYwRVgWhgS9CfwfaPrkQKWNYWC7kT0IPm1huiqIEshQLmOo9NUDgcTtznqj5sl7liCFLWJo72GEM1dUsjtW+dlBhDpAl80JA8BYi4mdlHOg1FjrHxkb+0kruI89blVGYbCcAcQO2vzWQ8rPdK3xaW6tTlsKxGBDrD2X4Ze5M8ljbTxbKkYEMADHf07NdG2uQHbUAlZyZ9wxeEzfaBMf16TCUu/ab+rWq8wWrIWPPqA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAXPR04MB9328.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(376002)(136003)(39860400002)(346002)(366004)(451199021)(6512007)(6666004)(6486002)(186003)(83380400001)(2616005)(86362001)(31696002)(38100700002)(26005)(6506007)(53546011)(55236004)(5660300002)(41300700001)(8936002)(8676002)(31686004)(66946007)(66556008)(66476007)(2906002)(316002)(7416002)(478600001)(4326008)(44832011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NWw2allvbXVBMWtKMFUyekdEa0liOU13dXprNWR5NVhDd2ZjM1hBeTZDbmMw?= =?utf-8?B?WnB5NFpBNVIxcXkyUG1TNzhRL1M5R205V1FLb01iSmNRbk1XZG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VGZUWWl6U0tFdXcwZWZzVTZXUVNxSmhsVlVMUVRR?= =?utf-8?B?dVFMdnhFbHdTOFF1d2FySTJObDV2M1lGUXoxTE05dEJ4NmREbURNYXF5OURB?= =?utf-8?B?UFk5RWJ2bTE0Qyt5dCtoeVBOQ1kvZzR1a1pWOElFcElmRXVtME9KOUFMVUtt?= =?utf-8?B?aXFGSzJkNzRqd3Q3RUM3VjVEZjVvY3oxZ2VJVDBHbW5VSStrNDUyTU5XdmpC?= =?utf-8?B?TDU3VlJ3RGpVZm4wOEVEV3hVNEs3WFNzRDNoc0Zyazc0SmREOTZlNHdHbDA2?= =?utf-8?B?YWc9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51f525fc-15c0-43f4-0068-08db918dfb03 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9328.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2023 06:18:39.4070 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 3Gmyd3RaTutY05dEfhahf9z6oa2amO2n7X4YP8amZ/v1h4iP5a5IMxVLDk/4ZXNIkObpw77IM2xk1LDQYwQa1w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6960 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: hemant.agrawal@nxp.com Errors-To: dev-bounces@dpdk.org Acked-by: Hemant Agrawal On 31-Jul-23 9:07 AM, Akhil Goyal wrote: > Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button > > > Removed the algorithm strings arrays ``rte_crypto_cipher_algorithm_strings``, > ``rte_crypto_auth_algorithm_strings``, ``rte_crypto_aead_algorithm_strings`` > and ``rte_crypto_asym_xform_strings``. > Application can use the new APIs ``rte_cryptodev_get_cipher_algo_string``, > ``rte_cryptodev_get_auth_algo_string``, ``rte_cryptodev_get_aead_algo_string`` > and ``rte_cryptodev_asym_get_xform_string`` respectively. > > Signed-off-by: Akhil Goyal > --- > > Release notes will be updated when base patch is merged. > > doc/guides/rel_notes/deprecation.rst | 7 -- > lib/cryptodev/rte_crypto_asym.h | 5 -- > lib/cryptodev/rte_crypto_sym.h | 15 ---- > lib/cryptodev/rte_cryptodev.c | 108 --------------------------- > lib/cryptodev/version.map | 4 - > 5 files changed, 139 deletions(-) > > diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst > index 494b401cda..2f3738fdea 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -177,13 +177,6 @@ Deprecation Notices > which got error interrupt to the application, > so that application can reset that particular queue pair. > > -* cryptodev: The arrays of algorithm strings ``rte_crypto_cipher_algorithm_strings``, > - ``rte_crypto_auth_algorithm_strings``, ``rte_crypto_aead_algorithm_strings`` and > - ``rte_crypto_asym_xform_strings`` are deprecated and will be removed in DPDK 23.11. > - Application can use the new APIs ``rte_cryptodev_get_cipher_algo_string``, > - ``rte_cryptodev_get_auth_algo_string``, ``rte_cryptodev_get_aead_algo_string`` and > - ``rte_cryptodev_asym_get_xform_string`` respectively. > - > * security: Hide structures ``rte_security_ops`` and ``rte_security_ctx`` > as these are internal to DPDK library and drivers. > > diff --git a/lib/cryptodev/rte_crypto_asym.h b/lib/cryptodev/rte_crypto_asym.h > index 8b5794fb7c..6942d6df69 100644 > --- a/lib/cryptodev/rte_crypto_asym.h > +++ b/lib/cryptodev/rte_crypto_asym.h > @@ -29,11 +29,6 @@ extern "C" { > > struct rte_cryptodev_asym_session; > > -/** asym xform type name strings */ > -__rte_deprecated > -extern const char * > -rte_crypto_asym_xform_strings[]; > - > /** asym key exchange operation type name strings */ > extern const char * > rte_crypto_asym_ke_strings[]; > diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h > index 76c868c503..f49fcf5626 100644 > --- a/lib/cryptodev/rte_crypto_sym.h > +++ b/lib/cryptodev/rte_crypto_sym.h > @@ -180,11 +180,6 @@ enum rte_crypto_cipher_algorithm { > /**< ShangMi 4 (SM4) algorithm in CFB mode */ > }; > > -/** Cipher algorithm name strings */ > -__rte_deprecated > -extern const char * > -rte_crypto_cipher_algorithm_strings[]; > - > /** Symmetric Cipher Direction */ > enum rte_crypto_cipher_operation { > RTE_CRYPTO_CIPHER_OP_ENCRYPT, > @@ -389,11 +384,6 @@ enum rte_crypto_auth_algorithm { > /** < HMAC using ShangMi 3 (SM3) algorithm */ > }; > > -/** Authentication algorithm name strings */ > -__rte_deprecated > -extern const char * > -rte_crypto_auth_algorithm_strings[]; > - > /** Symmetric Authentication / Hash Operations */ > enum rte_crypto_auth_operation { > RTE_CRYPTO_AUTH_OP_VERIFY, /**< Verify authentication digest */ > @@ -494,11 +484,6 @@ enum rte_crypto_aead_algorithm { > /**< Chacha20 cipher with poly1305 authenticator */ > }; > > -/** AEAD algorithm name strings */ > -__rte_deprecated > -extern const char * > -rte_crypto_aead_algorithm_strings[]; > - > /** Symmetric AEAD Operations */ > enum rte_crypto_aead_operation { > RTE_CRYPTO_AEAD_OP_ENCRYPT, > diff --git a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c > index c49d342b17..0f65992444 100644 > --- a/lib/cryptodev/rte_cryptodev.c > +++ b/lib/cryptodev/rte_cryptodev.c > @@ -63,40 +63,6 @@ struct rte_cryptodev_callback { > uint32_t active; /**< Callback is executing */ > }; > > -/** > - * @deprecated > - * The crypto cipher algorithm strings identifiers. > - * It could be used in application command line. > - */ > -__rte_deprecated > -const char * > -rte_crypto_cipher_algorithm_strings[] = { > - [RTE_CRYPTO_CIPHER_3DES_CBC] = "3des-cbc", > - [RTE_CRYPTO_CIPHER_3DES_ECB] = "3des-ecb", > - [RTE_CRYPTO_CIPHER_3DES_CTR] = "3des-ctr", > - > - [RTE_CRYPTO_CIPHER_AES_CBC] = "aes-cbc", > - [RTE_CRYPTO_CIPHER_AES_CTR] = "aes-ctr", > - [RTE_CRYPTO_CIPHER_AES_DOCSISBPI] = "aes-docsisbpi", > - [RTE_CRYPTO_CIPHER_AES_ECB] = "aes-ecb", > - [RTE_CRYPTO_CIPHER_AES_F8] = "aes-f8", > - [RTE_CRYPTO_CIPHER_AES_XTS] = "aes-xts", > - > - [RTE_CRYPTO_CIPHER_ARC4] = "arc4", > - > - [RTE_CRYPTO_CIPHER_DES_CBC] = "des-cbc", > - [RTE_CRYPTO_CIPHER_DES_DOCSISBPI] = "des-docsisbpi", > - > - [RTE_CRYPTO_CIPHER_NULL] = "null", > - > - [RTE_CRYPTO_CIPHER_KASUMI_F8] = "kasumi-f8", > - [RTE_CRYPTO_CIPHER_SNOW3G_UEA2] = "snow3g-uea2", > - [RTE_CRYPTO_CIPHER_ZUC_EEA3] = "zuc-eea3", > - [RTE_CRYPTO_CIPHER_SM4_ECB] = "sm4-ecb", > - [RTE_CRYPTO_CIPHER_SM4_CBC] = "sm4-cbc", > - [RTE_CRYPTO_CIPHER_SM4_CTR] = "sm4-ctr" > -}; > - > /** > * The crypto cipher algorithm strings identifiers. > * Not to be used in application directly. > @@ -142,51 +108,6 @@ rte_crypto_cipher_operation_strings[] = { > [RTE_CRYPTO_CIPHER_OP_DECRYPT] = "decrypt" > }; > > -/** > - * @deprecated > - * The crypto auth algorithm strings identifiers. > - * It could be used in application command line. > - */ > -__rte_deprecated > -const char * > -rte_crypto_auth_algorithm_strings[] = { > - [RTE_CRYPTO_AUTH_AES_CBC_MAC] = "aes-cbc-mac", > - [RTE_CRYPTO_AUTH_AES_CMAC] = "aes-cmac", > - [RTE_CRYPTO_AUTH_AES_GMAC] = "aes-gmac", > - [RTE_CRYPTO_AUTH_AES_XCBC_MAC] = "aes-xcbc-mac", > - > - [RTE_CRYPTO_AUTH_MD5] = "md5", > - [RTE_CRYPTO_AUTH_MD5_HMAC] = "md5-hmac", > - > - [RTE_CRYPTO_AUTH_NULL] = "null", > - > - [RTE_CRYPTO_AUTH_SHA1] = "sha1", > - [RTE_CRYPTO_AUTH_SHA1_HMAC] = "sha1-hmac", > - > - [RTE_CRYPTO_AUTH_SHA224] = "sha2-224", > - [RTE_CRYPTO_AUTH_SHA224_HMAC] = "sha2-224-hmac", > - [RTE_CRYPTO_AUTH_SHA256] = "sha2-256", > - [RTE_CRYPTO_AUTH_SHA256_HMAC] = "sha2-256-hmac", > - [RTE_CRYPTO_AUTH_SHA384] = "sha2-384", > - [RTE_CRYPTO_AUTH_SHA384_HMAC] = "sha2-384-hmac", > - [RTE_CRYPTO_AUTH_SHA512] = "sha2-512", > - [RTE_CRYPTO_AUTH_SHA512_HMAC] = "sha2-512-hmac", > - > - [RTE_CRYPTO_AUTH_SHA3_224] = "sha3-224", > - [RTE_CRYPTO_AUTH_SHA3_224_HMAC] = "sha3-224-hmac", > - [RTE_CRYPTO_AUTH_SHA3_256] = "sha3-256", > - [RTE_CRYPTO_AUTH_SHA3_256_HMAC] = "sha3-256-hmac", > - [RTE_CRYPTO_AUTH_SHA3_384] = "sha3-384", > - [RTE_CRYPTO_AUTH_SHA3_384_HMAC] = "sha3-384-hmac", > - [RTE_CRYPTO_AUTH_SHA3_512] = "sha3-512", > - [RTE_CRYPTO_AUTH_SHA3_512_HMAC] = "sha3-512-hmac", > - > - [RTE_CRYPTO_AUTH_KASUMI_F9] = "kasumi-f9", > - [RTE_CRYPTO_AUTH_SNOW3G_UIA2] = "snow3g-uia2", > - [RTE_CRYPTO_AUTH_ZUC_EIA3] = "zuc-eia3", > - [RTE_CRYPTO_AUTH_SM3] = "sm3" > -}; > - > /** > * The crypto auth algorithm strings identifiers. > * Not to be used in application directly. > @@ -235,19 +156,6 @@ crypto_auth_algorithm_strings[] = { > [RTE_CRYPTO_AUTH_SHAKE_256] = "shake-256", > }; > > -/** > - * @deprecated > - * The crypto AEAD algorithm strings identifiers. > - * It could be used in application command line. > - */ > -__rte_deprecated > -const char * > -rte_crypto_aead_algorithm_strings[] = { > - [RTE_CRYPTO_AEAD_AES_CCM] = "aes-ccm", > - [RTE_CRYPTO_AEAD_AES_GCM] = "aes-gcm", > - [RTE_CRYPTO_AEAD_CHACHA20_POLY1305] = "chacha20-poly1305" > -}; > - > /** > * The crypto AEAD algorithm strings identifiers. > * Not to be used in application directly. > @@ -271,22 +179,6 @@ rte_crypto_aead_operation_strings[] = { > [RTE_CRYPTO_AEAD_OP_DECRYPT] = "decrypt" > }; > > -/** > - * @deprecated > - * Asymmetric crypto transform operation strings identifiers. > - */ > -__rte_deprecated > -const char *rte_crypto_asym_xform_strings[] = { > - [RTE_CRYPTO_ASYM_XFORM_NONE] = "none", > - [RTE_CRYPTO_ASYM_XFORM_RSA] = "rsa", > - [RTE_CRYPTO_ASYM_XFORM_MODEX] = "modexp", > - [RTE_CRYPTO_ASYM_XFORM_MODINV] = "modinv", > - [RTE_CRYPTO_ASYM_XFORM_DH] = "dh", > - [RTE_CRYPTO_ASYM_XFORM_DSA] = "dsa", > - [RTE_CRYPTO_ASYM_XFORM_ECDSA] = "ecdsa", > - [RTE_CRYPTO_ASYM_XFORM_ECPM] = "ecpm", > -}; > - > /** > * Asymmetric crypto transform operation strings identifiers. > * Not to be used in application directly. > diff --git a/lib/cryptodev/version.map b/lib/cryptodev/version.map > index 24ff90799c..18c32d7a20 100644 > --- a/lib/cryptodev/version.map > +++ b/lib/cryptodev/version.map > @@ -1,11 +1,8 @@ > DPDK_23 { > global: > > - rte_crypto_aead_algorithm_strings; > rte_crypto_aead_operation_strings; > - rte_crypto_auth_algorithm_strings; > rte_crypto_auth_operation_strings; > - rte_crypto_cipher_algorithm_strings; > rte_crypto_cipher_operation_strings; > rte_crypto_fp_ops; > rte_crypto_op_pool_create; > @@ -61,7 +58,6 @@ EXPERIMENTAL { > rte_cryptodev_sym_session_pool_create; > rte_cryptodev_sym_session_set_user_data; > rte_crypto_asym_op_strings; > - rte_crypto_asym_xform_strings; > > # added in 20.05 > __rte_cryptodev_trace_dequeue_burst; > -- > 2.25.1 >