From patchwork Thu Mar 30 13:58:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 96296 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp252291qgd; Thu, 30 Mar 2017 07:00:58 -0700 (PDT) X-Received: by 10.55.200.88 with SMTP id c85mr5929971qkj.155.1490882457924; Thu, 30 Mar 2017 07:00:57 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id l48si1877447qtb.285.2017.03.30.07.00.57; Thu, 30 Mar 2017 07:00:57 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 2E0E760C64; Thu, 30 Mar 2017 14:00:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 7292463533; Thu, 30 Mar 2017 13:59:34 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 07B6B60F57; Thu, 30 Mar 2017 13:59:22 +0000 (UTC) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0095.outbound.protection.outlook.com [104.47.0.95]) by lists.linaro.org (Postfix) with ESMTPS id 61AB660AC6 for ; Thu, 30 Mar 2017 13:59:18 +0000 (UTC) Received: from HE1PR0701CA0032.eurprd07.prod.outlook.com (10.165.214.170) by HE1PR07MB0809.eurprd07.prod.outlook.com (10.162.24.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.2; Thu, 30 Mar 2017 13:59:16 +0000 Received: from DB5EUR03FT034.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::204) by HE1PR0701CA0032.outlook.office365.com (2603:10a6:3:5::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.2 via Frontend Transport; Thu, 30 Mar 2017 13:59:15 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.240 as permitted sender) Received: from mailrelay.int.nokia.com (131.228.2.240) by DB5EUR03FT034.mail.protection.outlook.com (10.152.20.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1005.5 via Frontend Transport; Thu, 30 Mar 2017 13:59:15 +0000 Received: from fihe3nok0734.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v2UDwu3G028533 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Mar 2017 16:58:56 +0300 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0734.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v2UDwu7M028515 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Thu, 30 Mar 2017 16:58:56 +0300 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Thu, 30 Mar 2017 16:58:55 +0300 Message-ID: <1490882336-13721-4-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1490882336-13721-1-git-send-email-petri.savolainen@linaro.org> References: <1490882336-13721-1-git-send-email-petri.savolainen@linaro.org> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.240; IPV:CAL; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(39410400002)(39400400002)(39850400002)(39450400003)(39860400002)(39840400002)(2980300002)(189002)(199003)(9170700003)(2950100002)(6916009)(5660300001)(50466002)(8676002)(77096006)(48376002)(81166006)(5003940100001)(38730400002)(36756003)(189998001)(53936002)(110136004)(33646002)(2351001)(86362001)(106466001)(76176999)(105596002)(50986999)(8936002)(47776003)(50226002)(305945005)(22756006)(2906002)(356003)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR07MB0809; H:mailrelay.int.nokia.com; FPR:; SPF:SoftFail; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT034; 1:p++IpVECLYAZAdDBBo/PlE4moZ0jED648Km5YYvoqslVbKxm0YAr0/0lzEkW94NPCbWTTodvwuGzq0NvfYdkv3wLmJOp+DwTM+xITWpqHB10AbLQkDYsa6SjCgUo/ezkO9pF1AXABJ4J0tYz7pVbtXTYFWW8K6xiX829i88wjNjHHJXJ/sgPz4fLh8KaU2LefQVgvjyZ9qF8QLSzkjqq62pQaxXu4rI30dWE/8X5NlNNPhwutau9lCTosdHLQI5qVn5yOlIOakU9nReMCy4SlymVF+z4PldVvnx+SIluI73LCtSqB9sGGJqGlbzod1isq3io6vPGNMFXSUiJclvFVdaiZNKeM+/Iks2tEcL/6d6BjZGSqk27STDerxMgi3qN5XMDEt4gzfTLeGi3pbvHh/twKZCGel4N+jDfQO/BSaZv20OI3zjcP3h8/K/0pQ9HHT8H2MR/c6a+CHwTVFku1zR1Hy+wUeGJA52apT4/mtiFKhpEzlNcodvDM8Y2Mt89uqIYorlZ10PVSRUKqe1cBQ== MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: fedf99f0-6857-4568-f78b-08d47774f3c1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(2017030256075)(201703131423075)(201703031133081); SRVR:HE1PR07MB0809; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0809; 3:6SEiLhvEnM2FnrqDSS0eAu/kFvEFfe5mFUAEyd03PWprcW1OqSPYqbCVcMFi7AiEqdboGgBSBFsClUYvrfeEG7JKM6PhJyIDJJPwRFbOXyYVMPKKK2E0t7YlSFBzj8msSmC8m/eI46M01089Fw2CtRJpDxpww2DjAkoqNcly/ytrMFytgyCdEIPT1JxPSRxSXF/GFk3f+ZOpR9vxVCN/22plkz60G8zgcV3vzDa0wjoHil2VBOgSaqkwX7tMmtkYj0StCYmB/JkQM4h0Rgdzia5wtaqV/5wpXpmFUFMw7txIn6D83j5sPdV6K2xOXbjvGhcVuLCrYZbHcI6DeppxMqMT1yHkY8afncRKczIo33sCi7O2BlRUIOUkkSwNBhFUJebrwYUfZJMXVp3rOExEHTpj2GTJjd2TGZvU7DCIpbCCBx3anxZT0QCKzEu9+W/Aq2l3lwJA0aGLImfAQ1EtgtYKtxnRP+VDyND3yrL2wO7+3HMbFqTcxFNicxjO/b+0 X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0809; 25:zlw7Co49BASbf5wWA+OVdzTXiV5bIElaxVtjlZQSttmESzYafyt4twvmu/AkTeRsGIkZ98Mrtc9KWLy/tnDwCgG/qwcZ4le/6eu7f5PkKN/djBSFmMMa8SBJAhGvMFHkvnd08keN0wEEz0YWAKuQhpk53Y42o+MGmJY67JCooxLafTvtJC1MhiMwgqWdbHeFbzAqtgEZpDez95UEmGFkos/knuRi8wxSHhlXWt3bAmq61egk+dwf2hkt3IoaR9AuexzYO83evzt3kwnqShzK/TA50ECmakml47PnBtQVpNP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IGa0LsPBj8ndwDuENmE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(13013025)(13023025)(13021025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:HE1PR07MB0809; BCL:0; PCL:0; RULEID:; SRVR:HE1PR07MB0809; X-Microsoft-Exchange-Diagnostics: 1; HE1PR07MB0809; 4:byHTlV4vULEM2W28fD4YuNQgXaWtJ1LL0G/LwgtkYsyPYnw4GLT95wDtMqcabLUkG2vb/kVCw4kbS9kwrJed5v2EbJmaTOJAEXhbx/D2P8ckpvgaImdHRfQD6138qkFA8bhtrTvP9S99BAnpBSpevugdN84RMLpmnTgVsFVR6ctbmHQGSDzzhsecb+tdPMTvB/KX4y6tCnxChRc6I0GP55Izs5yhVThet79ZGAWKFpD6KhPVMzhPfZmZ0a5S0Sw5xa8Mi5xUU5uq8nj8cv+LVxag6RZzB2aOTRebTs5V7LsrMJp9NVKeenRYLNCyDaypP67ENFTgYx21lsESQTeM7i4pWRmDB6RWfGH4NUYOHO8vxZnSHq2IfSBGYVCNC7TmgHx3ujDMPtciu71XRCs+Med2IHCFBqONxqhPcL+MZwy/oq6mRKxeGM1whLny1PPTKdZBSCtKrQQs2FeOWCNcPYk55IKi8dfLaC+SIa5qCHGt6fOBu2YhY74+NSfPLn+3odPV/oQYgnn219m1aWEIDEb+Qg4Bcpa7uRA5iLLcNKyVyRcAsCxNFINcN+Mukd+NaD0P8/jgyu7ajcMpgVKv7Sb9/zXKN2miMBRbwV6jdNkeswy1SwipNP8tLZZYOVNhtYJivy+j6pUv/bUyJVccUcVf8BhJBfl9YyAHTjtOUCr2gWYawzZNGLDBGdq3MNFWBzx+XPKKZyuc/td8PJ6jnfmJL8y+AzlKdzY82SUyCaTtarXITajdwb4RIr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vtwef2bnKVhU+I4JdJi3HQO/VspDC2pNf3wnsVG6W73UDxEU2iJerS4VcqPl3RkCQ7LKkAymfYC3FyBISg6+AQdV0zuW4phyWYV1/Fyih+XuZ0tuK4lqHLMkkiFRQgnHxA== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Mar 2017 13:59:15.3538 (UTC) X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0; Ip=[131.228.2.240]; Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB0809 Subject: [lng-odp] [API-NEXT PATCH v2 3/4] test: crypto: remove references to deprecated crypto apis X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Remove last remaining references to deprecated API definitions. Signed-off-by: Petri Savolainen --- example/ipsec/odp_ipsec_misc.h | 4 ++-- example/ipsec/odp_ipsec_sa_db.c | 4 ++-- example/ipsec/odp_ipsec_stream.c | 6 +++--- test/common_plat/performance/odp_crypto.c | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) -- 2.8.1 diff --git a/example/ipsec/odp_ipsec_misc.h b/example/ipsec/odp_ipsec_misc.h index e0320eb..45cb022 100644 --- a/example/ipsec/odp_ipsec_misc.h +++ b/example/ipsec/odp_ipsec_misc.h @@ -98,10 +98,10 @@ int parse_key_string(char *keystring, key->length = key_bits_in / 8; } else { - if ((alg->u.auth == ODP_AUTH_ALG_MD5_96) && + if ((alg->u.auth == ODP_AUTH_ALG_MD5_HMAC) && (KEY_BITS_MD5_96 == key_bits_in)) key->length = key_bits_in / 8; - else if ((alg->u.auth == ODP_AUTH_ALG_SHA256_128) && + else if ((alg->u.auth == ODP_AUTH_ALG_SHA256_HMAC) && (KEY_BITS_SHA256_128 == key_bits_in)) key->length = key_bits_in / 8; } diff --git a/example/ipsec/odp_ipsec_sa_db.c b/example/ipsec/odp_ipsec_sa_db.c index 28215b5..10bbcb8 100644 --- a/example/ipsec/odp_ipsec_sa_db.c +++ b/example/ipsec/odp_ipsec_sa_db.c @@ -111,11 +111,11 @@ int create_sa_db_entry(char *input, odp_bool_t cipher) } else { if (0 == strcmp(token, "md5")) { entry->alg.u.auth = - ODP_AUTH_ALG_MD5_96; + ODP_AUTH_ALG_MD5_HMAC; entry->icv_len = 12; } else if (!strcmp(token, "sha256")) { entry->alg.u.auth = - ODP_AUTH_ALG_SHA256_128; + ODP_AUTH_ALG_SHA256_HMAC; entry->icv_len = 16; } else { entry->alg.u.auth = ODP_AUTH_ALG_NULL; diff --git a/example/ipsec/odp_ipsec_stream.c b/example/ipsec/odp_ipsec_stream.c index 428ec04..15087cb 100644 --- a/example/ipsec/odp_ipsec_stream.c +++ b/example/ipsec/odp_ipsec_stream.c @@ -227,8 +227,8 @@ odp_packet_t create_ipv4_packet(stream_db_entry_t *stream, /* AH (if specified) */ if (entry && (entry == stream->input.entry) && (ODP_AUTH_ALG_NULL != entry->ah.alg)) { - if (entry->ah.alg != ODP_AUTH_ALG_MD5_96 && - entry->ah.alg != ODP_AUTH_ALG_SHA256_128) + if (entry->ah.alg != ODP_AUTH_ALG_MD5_HMAC && + entry->ah.alg != ODP_AUTH_ALG_SHA256_HMAC) abort(); ah = (odph_ahhdr_t *)data; @@ -424,7 +424,7 @@ odp_bool_t verify_ipv4_packet(stream_db_entry_t *stream, return FALSE; if (odp_be_to_cpu_32(ah->spi) != entry->ah.spi) return FALSE; - if (ODP_AUTH_ALG_MD5_96 != entry->ah.alg) + if (ODP_AUTH_ALG_MD5_HMAC != entry->ah.alg) abort(); } else { if (entry && (ODP_AUTH_ALG_NULL != entry->ah.alg)) diff --git a/test/common_plat/performance/odp_crypto.c b/test/common_plat/performance/odp_crypto.c index 954bdb7..b385797 100644 --- a/test/common_plat/performance/odp_crypto.c +++ b/test/common_plat/performance/odp_crypto.c @@ -205,7 +205,7 @@ static crypto_alg_config_t algs_config[] = { .data = test_iv, .length = 8, }, - .auth_alg = ODP_AUTH_ALG_MD5_96, + .auth_alg = ODP_AUTH_ALG_MD5_HMAC, .auth_key = { .data = test_key16, .length = sizeof(test_key16) @@ -217,7 +217,7 @@ static crypto_alg_config_t algs_config[] = { .name = "null-hmac-md5-96", .session = { .cipher_alg = ODP_CIPHER_ALG_NULL, - .auth_alg = ODP_AUTH_ALG_MD5_96, + .auth_alg = ODP_AUTH_ALG_MD5_HMAC, .auth_key = { .data = test_key16, .length = sizeof(test_key16)