From patchwork Thu Feb 23 14:14:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94380 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp230795qgi; Thu, 23 Feb 2017 06:15:32 -0800 (PST) X-Received: by 10.107.144.9 with SMTP id s9mr27839278iod.146.1487859332718; Thu, 23 Feb 2017 06:15:32 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id z5si4815931ita.84.2017.02.23.06.15.32; Thu, 23 Feb 2017 06:15:32 -0800 (PST) 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 45B3362C7C; Thu, 23 Feb 2017 14:15:32 +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,URIBL_BLOCKED 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 A6F5760A1F; Thu, 23 Feb 2017 14:15:26 +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 2499E60F4C; Thu, 23 Feb 2017 14:15:23 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0098.outbound.protection.outlook.com [104.47.1.98]) by lists.linaro.org (Postfix) with ESMTPS id 40DFF60F53 for ; Thu, 23 Feb 2017 14:14:54 +0000 (UTC) Received: from VI1PR07CA0015.eurprd07.prod.outlook.com (10.163.160.153) by VI1PR0701MB1743.eurprd07.prod.outlook.com (10.167.196.137) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.2; Thu, 23 Feb 2017 14:14:52 +0000 Received: from DB5EUR03FT031.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::207) by VI1PR07CA0015.outlook.office365.com (2a01:111:e400:533d::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.947.2 via Frontend Transport; Thu, 23 Feb 2017 14:14:52 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.35 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.35) by DB5EUR03FT031.mail.protection.outlook.com (10.152.20.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.919.10 via Frontend Transport; Thu, 23 Feb 2017 14:14:52 +0000 Received: from fihe3nok1348.nsn-intra.net (10.158.36.136) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34; Thu, 23 Feb 2017 16:14:49 +0200 Received: from mailrelay.int.nokia.com (10.130.128.21) by fihe3nok1348.nsn-intra.net (10.158.36.136) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Thu, 23 Feb 2017 16:14:49 +0200 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 v1NEE9rd029204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 23 Feb 2017 16:14:09 +0200 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 v1NEE8UE029180 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Thu, 23 Feb 2017 16:14:09 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Thu, 23 Feb 2017 16:14:07 +0200 Message-ID: <1487859248-23273-3-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1487859248-23273-1-git-send-email-petri.savolainen@linaro.org> References: <1487859248-23273-1-git-send-email-petri.savolainen@linaro.org> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.35; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39840400002)(39450400003)(39860400002)(39850400002)(2980300002)(189002)(199003)(92566002)(50986999)(86362001)(356003)(81156014)(8936002)(8676002)(626004)(50226002)(76176999)(189998001)(5003940100001)(81166006)(53936002)(110136004)(38730400002)(5660300001)(450100001)(22756006)(305945005)(2950100002)(106466001)(105596002)(36756003)(97736004)(33646002)(2906002)(68736007)(77096006)(2351001)(6916009)(48376002)(50466002)(47776003)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB1743; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT031; 1:hDi0fSrfBC6KqCWmqpJpfFTMOLA7L5yIa6CEC1BzPYBlT5jeukBhGNJd/f54gaT++VAhInrt1EAYgfUvkBytKAO6CRCUxgaJ77Q+n+tVDYuHlmeKdpwyzdyFJbnFrY93fmCHpX5Q/MsMkEiemkwb3Kosao8G6l94pHwGB4WzNNGcpOqVPdjwOmDS+ptJ88x/HdIvKHifuEBT/bqX0fHCML3ZKQ7zg5jgcZ80CciyaCe0XuLASZlpPmDcY1vr9UFRVXORQvd9ggtLy59oZboOuIgptY4SaljPFM49I2ebEr6lcG6dGMZOAZXAQD4EY4F46jFvVqbnSMrAHY1pXzDxm9pj7S+8OJlEvkmBTVVrRUHuzurgQNIRmM/Iz/JaIE/MJTGIC44VIjK2lT1AfEP6le7nLoIHx5h7cfBufKOCcztHq5Z4MuqWB6RO4+AHfWHLrzekLoliTo2wyghXnWEbuA== X-MS-Office365-Filtering-Correlation-Id: af50da4e-3a60-4ea5-0faf-08d45bf65589 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:VI1PR0701MB1743; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1743; 3:GWZfFsXgzjGgCYrBRpIv7uBWcbqCzW8S1RaIRP/gVHudqHYLqN/UycZMGmJlsQUosnoCptFvg+50gylBB5dV/3N4LZexljr7xhSdn7+D8rX5XvTNcwRTJcCx4WH0zhBjPWv7p7nTxiEepufubf8Z9oPnjJR0ykTVba9im3oIoWC40x1okFKvPAX4xhchbzBG4nCysLL5DatBBv/LFLV2TI1iAycypxpgQHZktPcmCVKEoojvYGOWnX/Tfk2ANVYqkLx5TerJjdovN+v8gtlyAcML9k3GQBiqw+bTpCWtSqADvwuS0dqcXMGsV12UF9wuGPUUoLLXnEfWs6r2LQTcxoUh2ehxjFxVF90KwFbRGMiuwVBXvE9v/klkmshoFX2q; 25:F50h5iC7FbLHkd1dWM+IvdrV4xkqM+lkxSdnzMwPK2r/OTBG+FPs26J6m0OfgXJImcbxuiVsbaeKltiXa6lcgDaTOulel7UdtHvWNgGTrWvXFM75Ti2tIFikPD6eJPz5ciOAuHAzaH4PnAQQyucABXSOGzl5fdqXbE5NwlXzGCG/0NE+QSYIEE/Rho8xQhMmjQbhFz2MO7VhYrNI1QcXO1PQUqQpVyh8NXiTq02DD6jf9UPsKEsohVYwvTiGEf65s36w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aWw2aS3wdL6mBvCYoFan6RHfSLOXIPOVfSh6ryO9oLcCUnqSbxHE+YfMbpP1mo+o9kEaV6cbQucBIlrLH5hm8Cq/suIhDIPbnenv/dwTQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13016025)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123562025)(20161123564025)(20161123558025)(20161123555025)(6072148); SRVR:VI1PR0701MB1743; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB1743; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1743; 4:UG9wBoQ/vDwHmCAA3LvS1y1nWYwo/hj8MgK3WazSODYbIwhoGdHkWHQOczqxHdsSFWtrXdFDoabFeQLqT1Obn+6Td1B+sIKWY4aONtRM6V9/Yc8k4l7uUFJzO3uqHF4GslqUa/2OP0YTRcvBKV4NQUmAUFer9CUo2Awi8Z3gDvovOmPN78yB1qGkfomWffAgrEzXh3nMUKb82ufZ8kP5s2L71xMSMJ8GHXK4HaRSlvQ1KadiNPnXV3wJjAaxYYJBq51NT6g/p7kMI4CApFSSH3Z00K0FmzzaZXLdjhkz/hFPEjH0dDxl+dOuiGSq2562zBCX87Hhc5IAAJjbA2aqC/Ea6l09crq2L2ISn//Mbo6I7jVuWWrnkLK2lfsQ8hcRfpRFCeixBSPRHBpWSAgDkg0jhEN6EzSWPNxgd6tIbNWApaaq4/8DH4bmWtEIZd+Xtk2uiMJQLQWn8e+CWSNn5ahnhoPzoMEHu1ayGMchHU7UIYbu1rmD4Ps/ObvnpRwrbrlY3eC4vKt6ShayV7ZSS0TGnytM5Fig2dnwgH7+yWcal9fHWzwYOHubc11A/pVIYOjPNIwFgZ/H/ztVoI6Gm3bYnuYPRelwS48AeSkhT4yYt/O7fwMah/4E0NNEQ89DDiNqvV6XBlwVqoMoPwe/rOOxD2fFRUP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IHz8YeQU/rzGdAzsJBNWtC9PclTNpFJqTkVj9xvlHGXDAwjo6XWCfE9o8rDnHCPwrak0EQVWITPRoiFX+EKsCWRGyUMr1+KpgbdnntdZ6F730x9HokJeqlDARCgVja6NjD/va8fk1c= X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1743; 6:Ok+EB5oY3RayC8zOybySkH4H+xjCW8kLI5RIaEZkOrX+ZeRJVFWSOpsLt1FTXfwTS8fhF8ODctTmT3cip4ek06lyc0J+HdRcJ8AXYDUH6OPTTI3nsXQ/ArNmGbuTPfpDcQRLybSSykQCSx7i/VOq0cmaGUaSy3+dHJqlSXUhw104gI/YKZo3e4FyHA8KNZi9zA8KX7eD2eO8uaCRk8ZIgB8hybZiFiakJPJPupd0aNt4GmVO9JR4h+XwJHow74cFYrQBHjoZprSj69VlFQQ6IXv5wjDAP4n7BXx7dMCRpfTv1P66DqxWjf68Pc5yC+kMYE8b6m58zfG1zW0P1Hqf9iBnQGI+AM91y0LM9EO0UHC9Wx7JJY97VvY/nA3i8ciWShoozKHF4ItmuWzcy7RfEVwRSvPEtKlxlcatwmSlS44=; 5:HgqClSRueXQRaoTot3nK24EFvvM1cptstwAinQaMRlY8Bxokj+aCTJ9Upzy1hb7OkfRHrH0CzKQ5KesqZJAlpJHIY0tJoZ/VsKxZlAKr+tnGWv65pEEos/GGBrAeubydrGKtei1bC6nf9oVPMBUMbQ==; 24:Ibi2dCh6sz08Ku3q4b3KZy9JE9gQ+K8awhc1aA/QdNbFzi+LimRQpbGHuix0nPafxqkaTnrizECYWBS9R2l6av2VKrmxOp5CR1YWC0fid8s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1743; 7:h0Hov0CIvHzd2JmU52EMIFDjlh/InZZum0r7qcu61vE0ufJl1A+5lzfefRZSCRCzdTucHCWykfage3PHlXO1kXKjMSp6MrCedwojdSxbB1wdffNi5eWaNZO9LCdOUS1RE3VUg5FON6uOec5iD4FxXjb0BW+aomZYhOYiBlMFSFJsVKw8cKW/PKrYoK5UU7WJ5hqQFpI31ruOINmzJdUIYFW4mr9nVcy8uLfsvA1pd2T+LnuHyUeFL+sIc0Ik386oKaqHp7vyOJMR8BU/Yk9gv2qzKpTKe+B+SAOf8cEYF9V08fMI7oKcc/39CuUt2A8rap5Kbk91fEuF/PFLsgRB7A== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Feb 2017 14:14:52.0273 (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.35]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB1743 Subject: [lng-odp] [API-NEXT PATCH 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)