From patchwork Wed Feb 22 15:08:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94329 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp956043qgi; Wed, 22 Feb 2017 07:10:08 -0800 (PST) X-Received: by 10.200.55.241 with SMTP id e46mr16606966qtc.200.1487776207972; Wed, 22 Feb 2017 07:10:07 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id x38si1076287qtx.134.2017.02.22.07.10.07; Wed, 22 Feb 2017 07:10:07 -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 A198A62C3D; Wed, 22 Feb 2017 15:10:07 +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_H4, RCVD_IN_MSPIKE_WL, 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 CEEC962C62; Wed, 22 Feb 2017 15:09:17 +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 84FE962CF3; Wed, 22 Feb 2017 15:09:14 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0097.outbound.protection.outlook.com [104.47.1.97]) by lists.linaro.org (Postfix) with ESMTPS id 1E5DA62C3D for ; Wed, 22 Feb 2017 15:08:51 +0000 (UTC) Received: from AM2PR07CA0029.eurprd07.prod.outlook.com (10.163.24.167) by HE1PR0701MB1737.eurprd07.prod.outlook.com (10.167.246.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7; Wed, 22 Feb 2017 15:08:48 +0000 Received: from AM5EUR03FT039.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::204) by AM2PR07CA0029.outlook.office365.com (2a01:111:e400:8448::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7 via Frontend Transport; Wed, 22 Feb 2017 15:08:49 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.38 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.38) by AM5EUR03FT039.mail.protection.outlook.com (10.152.17.185) 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; Wed, 22 Feb 2017 15:08:48 +0000 Received: from fihe3nok1346.nsn-intra.net (10.158.36.134) by fihe3nok1349.nsn-intra.net (10.158.36.137) with Microsoft SMTP Server (TLS) id 15.1.466.34; Wed, 22 Feb 2017 17:08:42 +0200 Received: from mailrelay.int.nokia.com (10.130.128.30) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Wed, 22 Feb 2017 17:08:42 +0200 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8PMg022650 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 22 Feb 2017 17:08:26 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8Pxk022639 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT); Wed, 22 Feb 2017 17:08:25 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 22 Feb 2017 17:08:22 +0200 Message-ID: <1487776105-32713-2-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1487776105-32713-1-git-send-email-petri.savolainen@linaro.org> References: <1487776105-32713-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.38; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39850400002)(39450400003)(39840400002)(39410400002)(39860400002)(2980300002)(199003)(189002)(5003940100001)(50986999)(4326007)(76176999)(105596002)(356003)(2351001)(2906002)(77096006)(305945005)(50226002)(6916009)(6666003)(2950100002)(8936002)(5660300001)(97736004)(86362001)(36756003)(48376002)(92566002)(53936002)(626004)(8676002)(33646002)(22756006)(110136004)(81156014)(81166006)(68736007)(189998001)(38730400002)(47776003)(50466002)(106466001)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB1737; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; AM5EUR03FT039; 1:Ak+mbHvsF2s5YGCAs2MaHBVONNy6xHzD33oY/U7wTHWtzzCgqCzOadH+J0vppygzB7NBpm2q5dlIWUuKIwYIJ7HLKEtANy9ixcqHFEuUvRt6LClsCbEWbEFuIUs8ZTfsyHvPxpG+T/pcUrWloVPhRsWfq/4lvE+MQn4HazbmaQVdcd1oaJL6wxZmtZBotRBDKjpCc6K7dwHye3CAlr8YKs3d/gHat2hqql8hYhhxBiBOs6N3EzWdKKxmqBq7xJsy9F7ei459uSMufb9N58rSFoUEVwquHbPniPLwvgUZYQU1tRFgmCy1nxfSdqU4g17LbmiPY71gW2k8Hl1/Z/LI21XQB35uXxjOTpqgHHuRNyXCjEx02GNtoXAylKX78Mde2MmhqfHetkDveN/DSyjS5Geo/EjNvHtnmgzpRANruiPgKmtQZ7dWSmGWq0zSL3uDT8uEeqk9xJFPqFsW6Fumhg== X-MS-Office365-Filtering-Correlation-Id: c85cfd2b-6eb5-4376-87ae-08d45b34b46c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB1737; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 3:FOnxJmJkHInV9Y0xCKTlwFYRNAOaTg63Io4m3X2S+5tcXib02L6Pogkp7D0UBAuTT2w1SKRS08wcLOFYTEJCECClrix8UK8tylrl+QkzgxguV+231dnhShuT53MySPThSQDUtq1ci18KThG5JAYbxhUJhwTY1IcdTpCLRnl6Uez28AiyHYCH/2osciulm8mMvs6RvLyLGbB3lSHfLrx8eGotEuxR3EFalJQGxC4+x4cWSEolSj5drtnEsozGUYBjhwHKhCQd6WIUty2X3eyCy99+uMup9JbWmON15Ko4lwBYYrXP7+5gHczAM5aRvKFy+chJ0rHJAnib9nMZFrq+4oy1VbuX6APnFBZYsLVQtTBAh3eNrZw1K48ivH7PBofQ; 25:TTyMe3zk72PbSBgrUkUNJJMW3wp1pOKvsC0wr4hGiNkknZMlrNXvMCYW+qn2Di52bMvpE1YdFzFpY6pIYvbsT6r6161f2t1V4eOB/idbFv+ZF2sO2kJboDcO8HRMAIVWfzRWNnWRxRrIEvS1bdTD60pJx/e3hLZZoMg1+RjRHPL+Qvnsg5M/kDAZlGgeeGdh/IckMeV/BJCDThxTj2Bg6YHMqwLqUfJzJYbdZyWygFSEIRgErUXYg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hMJ5fFbelYHS90HjXdcXHiXssDAnxmjfqgkNOHLJeIneQWvgQuvQWmLdTe+TbbOjDTtxKgvMCTcHMfLMCVc8Sd8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13016025)(8121501046)(5005006)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123558025)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:HE1PR0701MB1737; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB1737; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 4:ZRTEG42tnyYBisgwOOHPUZ/0RK53xNZ3S9LzsLoGUX/sCX1TNjU8YzdXaMHJrh2LWbRP5kNHjWclXSy9b8wnHR9fgvsEZpk6Zx2LTDeNruFsZbOnGqnT3ueXouucQ71HrjZasnfpdAr5MkTtHLlzOOt9tbktSD0lb/l/ElQEnxQohES4WcK1UbQStfd9LosS3olicf4fHuLZevpeD/ZoDntjBhIeI3KIoc3hyCXbfEhh+vwJoOxKmMUFsTAanuZ4snYp2rcxydr+eAb2x9FaPFoXL5h4Ptd76AlsiTaq+kcZdYonH6HfY45L18P148N+rbTUCIcyWDhwuBaZwmQwAmJLMNIN6GNRF5+yuzplnU/O58U7vepvX+eVzRJM4s4cApKIS4V9Xzm10wD8pw7gxJPOa7Y33wOORy95HeZPquYmHNOAWJ8rrmSmD+PzstgFo06nCb+4+NkNP83P3yH6AK5IKvg6/cF/1hwbz1P6GOpnngum52gsVr0tDubv2Kwn6P7kwmAvhV76WYroeBWvp/uuCjqaikfNliiexfuVYp3VX7sOaYxp87iDhBWNWuttH8OuOErP2b6avP2punl1kqQODVKlOO6I1lJFjrjD06Iyzk0qq0D8daGzRc4hkd1Q3R61UlZSx6CJSqoa88tGY/X0m0SsA3Jthwo4w0QAwyM= X-Forefront-PRVS: 022649CC2C X-Microsoft-Exchange-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81lOB47qAYIxADTRbzFQukgP21rg0W9cdzXIDigwUnn1vnTVTYfoqdeBiafbXMj8+bOpYvy1IeJF76IvviZVA30F410RReADLvQU5obO7tieSmGpD/ X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 6:SfykvDwrq/YXrdEtmdCcVEeL/0qNAQBgOeo41+r8U5H4TXx32WOQOHqV2fmCnwKcP5uckBA37VeBPbdQboFxulNAWqA3pxNJ/fXbhclJY4+2+2an1x1F02JXPdAYTvcwsLJflODcECUufve4d6isYWWVOydkxK3RtSDiNNMZL6c01f+fakxHHP33S+tEvfSUMEBnYwtjUmUMpLOdEv0FWCfXNwZeuamGPpPjpnOpgmjjxmYPJPtb5V8XuQYtUXqEFHGzAhb3LFJo0Od3LvB49v5KKjUI7U4ewuD2oOsN9qLvw+ZF5v7fXOEYr/nlFUQJCroibWnygabivGiX5e5ofsr7I1L9iq44FtELuV0Vulj9Qu6MJ/SeRXEPAt1Uhqe9Oj/yRBngacb2FKgO+d/W3/5zWoCa6dKhzL+L3NerMIo=; 5:9nrNDyeoP5qzF00ftsBDM6CYkbNp396+tmpqJEzwB1zXAo2WAgd4hsbv0Ylcv6RWxTL+QE3LXbKGGfcwJhfmMK2POaBekJvstAPKi2uBDGRdXScf8VYeO6EjIQYVYl6oDZSTb2WrZzYWjVlScIWkU38Fk5BmOV7msQRmQVJRWbo=; 24:gDxmoo+iQARpxV1FWeI+ai0N/tVC5fNZ9O3OPsrIYcXALOOF2B+aKBupHIF2uUJfR1wbzrXfnuYXug5WGqgjVqPAE/AkCt13VA99SHHCWTI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB1737; 7:KdZzwe4xhLDOO8asqgE4c3HOMtNwsi4CqAi1NppjwjD6gqsSNzqxGDRiZZUS7U7QbRX63V+xLUH7L9Y+KjLJjwiQdfzq85bij+GwK/r5tIxfXKLlCgLU7EJv1Jz0P0A37f1vxsEbaS1egA4J/f/C+WSVoPozJHB5/xv0YhHInIgizXztOUoshdF2uTgCsEAxzxA8HbAH5yCrqLQfWwCXrPWePzCqd5CZC2hccVkKDYP8EP48Vm6c7+MIv6cO5PrvTtlCTy+f4KH6GRMNmcs0pAbvYJ947lYKfxsFHzTHHws6i0PFGWsO59GMMXOCJKd7E6UyZZD/huuBPY+vvLm3iw== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2017 15:08:48.8583 (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.38]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB1737 Subject: [lng-odp] [API-NEXT PATCH 1/4] abi: event: add ODP_EVENT_IPSEC_RESULT 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" Update ABI spec with the new IPSEC event type. Signed-off-by: Petri Savolainen Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/arch/default/api/abi/event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.8.1 diff --git a/include/odp/arch/default/api/abi/event.h b/include/odp/arch/default/api/abi/event.h index 4f6596b..ab14157 100644 --- a/include/odp/arch/default/api/abi/event.h +++ b/include/odp/arch/default/api/abi/event.h @@ -28,7 +28,8 @@ typedef enum odp_event_type_t { ODP_EVENT_BUFFER = 1, ODP_EVENT_PACKET = 2, ODP_EVENT_TIMEOUT = 3, - ODP_EVENT_CRYPTO_COMPL = 4 + ODP_EVENT_CRYPTO_COMPL = 4, + ODP_EVENT_IPSEC_RESULT = 5 } odp_event_type_t; /** From patchwork Wed Feb 22 15:08:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94330 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp956424qgi; Wed, 22 Feb 2017 07:10:58 -0800 (PST) X-Received: by 10.55.190.5 with SMTP id o5mr28269160qkf.111.1487776258677; Wed, 22 Feb 2017 07:10:58 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id r62si1072791qkd.168.2017.02.22.07.10.58; Wed, 22 Feb 2017 07:10:58 -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 458D2608B9; Wed, 22 Feb 2017 15:10:58 +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 1123F607EC; Wed, 22 Feb 2017 15:10:54 +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 D80AD62C7C; Wed, 22 Feb 2017 15:10:42 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0099.outbound.protection.outlook.com [104.47.1.99]) by lists.linaro.org (Postfix) with ESMTPS id D765B62CDE for ; Wed, 22 Feb 2017 15:09:59 +0000 (UTC) Received: from DB5PR07CA0003.eurprd07.prod.outlook.com (10.167.223.13) by HE1PR0701MB2921.eurprd07.prod.outlook.com (10.168.92.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7; Wed, 22 Feb 2017 15:08:42 +0000 Received: from DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::204) by DB5PR07CA0003.outlook.office365.com (2603:10a6:0:2d::13) 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; Wed, 22 Feb 2017 15:08:41 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.36 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.36) by DB5EUR03FT019.mail.protection.outlook.com (10.152.20.163) 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; Wed, 22 Feb 2017 15:08:41 +0000 Received: from fihe3nok1346.nsn-intra.net (10.158.36.134) by fihe3nok1347.nsn-intra.net (10.158.36.135) with Microsoft SMTP Server (TLS) id 15.1.466.34; Wed, 22 Feb 2017 17:08:36 +0200 Received: from mailrelay.int.nokia.com (10.130.128.30) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Wed, 22 Feb 2017 17:08:36 +0200 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8QZ4022658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Feb 2017 17:08:26 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8Pxl022639 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Wed, 22 Feb 2017 17:08:25 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 22 Feb 2017 17:08:23 +0200 Message-ID: <1487776105-32713-3-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1487776105-32713-1-git-send-email-petri.savolainen@linaro.org> References: <1487776105-32713-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.36; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39860400002)(39840400002)(39850400002)(39450400003)(2980300002)(189002)(199003)(53936002)(86362001)(48376002)(110136004)(38730400002)(92566002)(2950100002)(77096006)(5660300001)(5003940100001)(450100001)(2906002)(50466002)(189998001)(8676002)(22756006)(356003)(68736007)(97736004)(81156014)(626004)(33646002)(76176999)(305945005)(50986999)(6916009)(50226002)(36756003)(8936002)(106466001)(2351001)(81166006)(47776003)(105596002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB2921; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT019; 1:rh79xpP/KBaZCllVTrpNg8wBr3CsLNvUclR1bsqZcFi4URNMKI8X862C0PHcONGF7WvhcXBG4PprrhlTcEcpT0tb38kx+BCFv8mm+AdgM7kjUA5uXqW6jxE2WEGBBse8WFOCIeDA73NSkjVKBTi+ojAGvCRipmbWL99BVjvZKpK6+Kyekx5UtlYBY6UeRAwxZyjbyi1uTC5E/4XIW8YCbbNZWCnV1W0Acvt4Qt8izyET+3LnMaPmJB2k7TSJ8dkVwpG9WiaAmQuWZP2JHJIZzyjPKEcapG9p6/17I5ZxJjcZnqHuUMqlXfJt69yoLvngKCbciIuPVP57FB8YwogXQeVuXHZrgfRI+CYR2yGX0GoGcuMDy6DC9UFAMT4fgcQIMfmQb87HneQeOV6Ed0eilHJ4i14ILmrRCMfDQN0Op15Yi6YAR5DchmfU4gT00VR3qXIqk6AVGoUqmZn4w0qCCA== X-MS-Office365-Filtering-Correlation-Id: 14118bee-32d3-48da-6715-08d45b34b01a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB2921; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 3:wPcH5P/Kk+JMHahpcI3GbOO9bClCi64tRpGtL0GG/HzgtyngmXmwjv+s/TtrrAkYCF2Zd9/n4nlqgc5Ix4R2ZJoIC120J/t+wQW35yugFZnYpAJPQjSUKBzXlY6Ox+O21IcZUehCwQnDX479gLkPUsR5dXtdDfUnKHTdXb7ZAbGCtxHsQAcvXP4fjDCrSPNhVG/2SI63b7xAaRB5WXwvtGOoqAHZ0uFpFUQgldq8igkVqvL4wZTMk0vg/04LQ6MtRIyhlmChZu3LtgzRIf3xXawu9Zcy58/BW++c5ECyRVXE4Ls+udEMLzsbf2mDw+a5vLyPoxK+HIsBid3s6dqkTqUfzO/mnatuGsU5P4nN0JxvOCToxCqXP9iDfPc8g7hM; 25:1d5S0jFydI5efWSkPBWXjNtV5fjmqFiyZwCuBKoehK+Kl3LEM/NXah1x/h1gWd5I2G0y1A1MhPl0U/z1VVg7COS/+o/UuAJl47ryWsk4njiPdxiiox51YXmvkEOAGIiDcWCn8xFuXd5rWu0SOIwAB9Os8Et4YnhEFyFMZA2FsBLlLj2CB2iiRGYfX3pDy9+SA9WFc2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Xp4WKd5Jrfn+k/KoWYrqEYYGg2jWBTNatBYlRljokeSnRx77GR9PKi66anU4Z9ivWt5GE5v0+1utSny+J8QKhWwE9kudWgkKDhluq9ea5Zqn2ZTNjHEdCwghg795VcpmBdvwlP4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123558025)(20161123564025)(20161123560025)(6072148); SRVR:HE1PR0701MB2921; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB2921; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 4:1WeITn7YpM5oa7LssznIA7Z07ZbAmN9QChcd+6kR1YwiWJTLHVonZk1EzT1Lc3C2RrHcC7irgex404ZGZAyFERdQgj+sM8qqTwTDuCRb1PiYb5RYANZyvAoVBm0PnaMg+htLkcY2UrB0k1aGQ7WAODGgSwCIWa96AtMKceZgCK3IZeoqiGNdkh8JUbl66rY8R6BT/emyqS4qZNyUHbqSxNdFw0UoIBP8r8pQRj4vgdC+e2Aetpe/VdcppRNLg6JmMjjoIg7osKHUu//WVEmWbE0khTuZbgplsqWMhaFZMksyrfUBeMTbRLe22XWAZPkUgUb1kmMS7LlWQSzTh/YSIgCxsjUUQDt2j2Dhf4wXJlHQXCOLh17BmxOEbT8tEwzpI16C7ely9vStSz64Vni5xXAl7lmzxQqxEiCVRS/BdfGtZOhJOVxmXxqRz/TVIQxwDENMV5LlFClgSncMGdGUBVXhNDOOpopS3J1sBLTns69k9LM3LVCYbcvU0kd22wM4M2v8xwavndyr9HzPSvwAhaCaVgJj0Au43L+ldB5N7gbGa+PPRtWwrvpHCZHevNIRTayYd80hvNZmqdSc3FdSC2PNqLhEr/EzeWo27UdbMkgvvMmjgmI2fye128hVcdSNy/k9lvzi8SXMSTdafTTKwfzi6fN8RIMu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yNn8dmjehUMJCdXipmboZLhLPu80WocMqPO0+0Py4gxp1mfKpC7s9aND0JRLkOJGfvlBt7/9a8bUQz4FMomPv6jmxgRbgoXIWpUOyaGNMaPo+ET8vsOiRFFjl4UoTpM= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 6:+D+zaoV/MM/7F/5Sur+FaVPdeow/DsKNSHLHVTr++Id73L6qV+y+mb3AUxW2kwdi/TcFka7Gpky3dPMMjVlFtkLYpBQ571BVjdzd/QoyAMbAp3xxQDJzXZRdqDz+ic3ehlwI5Y+1bLDjoLxb6Q9LRo864Wavje8UM0ty7MFsmJssyWLYz5SOEyYLcYvUQ0AUGNzWrmtdiXLk7E1IKU/GQoigFDO4j1B9HwfywFQPjQbVE4tm31LLlD2Igv0C5z36B18qDNZZaJe4PAr2p/T847yoRsnAl535apBvEIegzjCHmZ5TtlY1bK9GL6C+suWIFm4N7YxNLSRis/qB9ulvSA03zEhAAc0X+niaNg/t9Df9XX34KFzxuxd/FpO1oVq+ksQzcZy8FU3ZBOyHM+rSc0cUnWPkTMv1eLoG+KW6pnA=; 5:04r39ZylCONotdOL+JtaIYt23xJMA19iMv06x6l1nW27+js+253n9qZEYcuv0qMacPP0jRNUNK/9tdAxd25wpkDIsVa8ktqjaKmwdUiIZN3tXpLwnSUibyttJZRyXs/1FeDcu9xUJBNn22KbrLgB4YnBZcWIwX+W5z9/cD0qegg=; 24:p7L04sPV6m+4E2eV0xDUKj6PMih79f6auP4mPCu6/rT/onJGwVScF2k3HZNuc680+4qXZ2RLE4G+4vKUcmNdV1Txy0HEPPvoKXhet1yjUck= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 7:eCNhzzWnrQG2q5cEd4dTl5UD1HzDBjfqyfXZwbFw9xU3XXvDK547D1VPBGdmlm8cEEXDhlRZADJF5Viw4o93woDVgvVpWJuJFDaeYMZgbglicJ9mymvlDOUPXsamoNuRoFTPcDnVPa1Mkw63xdMElgXrELYjRl7Q+bjXh6fUqgeV0zRpojvKpxXX/l6GccvL6TrZlKPRQC4bYYx/GxWnWyzTELKY15W5sXAvY93spH/CaV69zPIQNaPTAVuu12UBTXQe1F8zBKJvuZc5GzXhP1R0cHA8gWzyIMo9+VExAzCsR6tDC3wattzBOimd2XYY5MJw676fXz3vFBSXm5b2RQ== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2017 15:08:41.6092 (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.36]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2921 Subject: [lng-odp] [API-NEXT PATCH 2/4] api: crypto: add sha-1 and sha-512 enumerations 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" Added enumerations for HMAC-SHA-1 and HMAC-SHA-256 authentication algorithms. Signed-off-by: Petri Savolainen --- include/odp/api/spec/crypto.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.8.1 diff --git a/include/odp/api/spec/crypto.h b/include/odp/api/spec/crypto.h index 9855bf9..d30f050 100644 --- a/include/odp/api/spec/crypto.h +++ b/include/odp/api/spec/crypto.h @@ -102,12 +102,24 @@ typedef enum { */ ODP_AUTH_ALG_MD5_HMAC, + /** HMAC-SHA-1 + * + * SHA-1 algorithm in HMAC mode + */ + ODP_AUTH_ALG_SHA1_HMAC, + /** HMAC-SHA-256 * * SHA-256 algorithm in HMAC mode */ ODP_AUTH_ALG_SHA256_HMAC, + /** HMAC-SHA-512 + * + * SHA-512 algorithm in HMAC mode + */ + ODP_AUTH_ALG_SHA512_HMAC, + /** AES in Galois/Counter Mode * * @note Must be paired with cipher ODP_CIPHER_ALG_AES_GCM @@ -171,9 +183,15 @@ typedef union odp_crypto_auth_algos_t { /** ODP_AUTH_ALG_MD5_HMAC */ uint32_t md5_hmac : 1; + /** ODP_AUTH_ALG_SHA1_HMAC */ + uint32_t sha1_hmac : 1; + /** ODP_AUTH_ALG_SHA256_HMAC */ uint32_t sha256_hmac : 1; + /** ODP_AUTH_ALG_SHA512_HMAC */ + uint32_t sha512_hmac : 1; + /** ODP_AUTH_ALG_AES_GCM */ uint32_t aes_gcm : 1; From patchwork Wed Feb 22 15:08:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94328 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp955643qgi; Wed, 22 Feb 2017 07:09:22 -0800 (PST) X-Received: by 10.107.55.135 with SMTP id e129mr26193326ioa.55.1487776162354; Wed, 22 Feb 2017 07:09:22 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id u133si1777243itb.55.2017.02.22.07.09.21; Wed, 22 Feb 2017 07:09:22 -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 CAE1962D5C; Wed, 22 Feb 2017 15:09:21 +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_H4, RCVD_IN_MSPIKE_WL, 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 369CF62C2E; Wed, 22 Feb 2017 15:08:52 +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 CEA8162C62; Wed, 22 Feb 2017 15:08:48 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0110.outbound.protection.outlook.com [104.47.2.110]) by lists.linaro.org (Postfix) with ESMTPS id AE71260A45 for ; Wed, 22 Feb 2017 15:08:42 +0000 (UTC) Received: from DB5PR07CA0001.eurprd07.prod.outlook.com (10.167.223.11) by VI1PR0701MB1741.eurprd07.prod.outlook.com (10.167.196.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7; Wed, 22 Feb 2017 15:08:40 +0000 Received: from DB5EUR03FT019.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::205) by DB5PR07CA0001.outlook.office365.com (2603:10a6:0:2d::11) 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; Wed, 22 Feb 2017 15:08:40 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.36 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.36) by DB5EUR03FT019.mail.protection.outlook.com (10.152.20.163) 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; Wed, 22 Feb 2017 15:08:40 +0000 Received: from fihe3nok1346.nsn-intra.net (10.158.36.134) by fihe3nok1347.nsn-intra.net (10.158.36.135) with Microsoft SMTP Server (TLS) id 15.1.466.34; Wed, 22 Feb 2017 17:08:36 +0200 Received: from mailrelay.int.nokia.com (10.130.128.30) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Wed, 22 Feb 2017 17:08:36 +0200 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8Qut022661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Feb 2017 17:08:26 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8Pxm022639 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Wed, 22 Feb 2017 17:08:26 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 22 Feb 2017 17:08:24 +0200 Message-ID: <1487776105-32713-4-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1487776105-32713-1-git-send-email-petri.savolainen@linaro.org> References: <1487776105-32713-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.36; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39860400002)(39850400002)(39450400003)(39840400002)(2980300002)(199003)(189002)(97736004)(8936002)(626004)(2906002)(50226002)(22756006)(33646002)(92566002)(38730400002)(5660300001)(110136004)(77096006)(305945005)(53936002)(2950100002)(6916009)(189998001)(106466001)(50466002)(36756003)(48376002)(575784001)(86362001)(105596002)(81156014)(81166006)(356003)(50986999)(76176999)(5003940100001)(8676002)(2351001)(450100001)(68736007)(47776003)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1PR0701MB1741; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; DB5EUR03FT019; 1:UeqETzG14pghXsruESClf9MiK2fD6ucNw4XosVZ6ft0btjB+nn8KZbLXy9sD0DWNRMMObTsJAU9kiekxkN68QbfJrCOF4Z4zm+kHjajV5CR4ZsRq9138QagutpyaBgVAN0jKEaI/bgYLUc8vC55w5/1xT1mCyrGITqddBvlTSMbVW1yfLTFeBqcgS5Bu+7sY6RGNWQLydw3hQKBNMy9sNOSeaeFCbw9M4zc5QC6+4llaQWYAz/GOqlCL49c5DRpA9MojeKo/qTVp1+bxz6w0gI3Rp4HkNLbfsZdirwlm0uwLrF5GH2PsZvOXRTT4322ZGoEQ4fN20aiiyHXw06VsBA2RYR9EogrFQlCmIcbJLyB6w61uREwn1eOO3HKqKl84SHDJS7SURRK9Ju/A8M/b+yY5LVDWQZ9iYYUd38OBGcoIIm27NG4q7rjC/cGkNpeU/5XXTVKT2e7ZYTS7Mb0rdw== X-MS-Office365-Filtering-Correlation-Id: 9314f0c5-77ea-497e-f62b-08d45b34af88 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:VI1PR0701MB1741; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1741; 3:1tQa4Mmt+2xDHzFIDqeP3P7X1WJpo+3eJtDsAIsYCIWrlJSyBDQ9n3Herjdq8JcztxBnaKHxtPnxY4aE7ZXgudTaCMaqtjn89APVKq1p05V45Y4ByC3rSizOiu4qdL+IR5gZNKAKXV4m6mqWKsKQkqYZAwrnH6zcWGDhXntNx+oW9W+7mTs1NOodCD/NxaenipwimugiacKZEvfC9BB16Pm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QgOGc0jg17l4/yHXSnGGJEdpSVtzI8l1qXsZEP3M+ElKLf0WdTafF7GB6zHH/oKtCe7wt1bb1UiEuF+Ikb+3PoYmAsUGT17aJyBpR8uUx9AkriKkSQ/XeB0Laljt/ApLYqfgtgb6lGP7DZnczYlkl1X/VdBA0Jg0S44k8IwPDuDmiK7Yg7sr7v7WY0/dxxmJxqTxLdejmK2GJ6PT/62nnOqqoz6XRldarCJlByDugerMlQ5lJGtZTw8wWco2MVSarUb70owYBr4xFfYzSpPG7n34kHmxTLvHroow4+U12hbW0a5lDDaI/i0sghqrQzXeWzXPTwmpQXPLDBplkNShw7/IC/GjAhjPEfJgFGapJIog+k54aj0r1+RhZlQ9tfFxQBfJz1OwBlcZwabEtzo0lPcRVv+Ovd7dc6iaSvnfzkZZV7r46Fi5BgDTPb+iRLJCiEx3GwsuC6sEHgq7FSJ65WJDcFe0ooTSPPhseifszgVFw2TQ05whb37Vdg8uE6Lla2VkfWtI+cSPVddaEI= 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)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(20161123558025)(6072148); SRVR:VI1PR0701MB1741; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0701MB1741; X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1741; 4:A56IfjpuQXdGVmJQUUXUnjCS35ntxwdURYAUiRZgY+jHT4SeeE+SSKGeoQAgN8AwJNDZRsS8/TmZ/Ax3cZReHcfNF8SBRsrcvvbR4Z1Xkd1XQ8pYJRQXC8t++jmmobx1N53XwJJBLSb3oNRAn0yvVLqEsydM09z7B2tBPntOl/0Ieb/GBmwbrJJSSWatQO8Rz8f7P0kmjQok4axG0BzHfWp5geTsL9QFLjMFLTagWM32G0IAH5EjGb+B2qgo1gQt0L1nQ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jpBNa+XwxX4y05g2u8NrkoZG1vckSCeQTWB1yNl5Yw3hOGrUUbZHPSa1iTzAbTBWBNyoJemx9JmYhpl4rirYCj8JUGu6T0m1pZL3mIuY/+WxYHqOO1IalduUOB4cq3Cu5R6QzbcmH8OXH9eh7AMUt0MM2uIUb1yzgcM=; 24:ii821yQ/Gv/nE0/Q14j9faBQ7mrEHFKeuus0AiQtBaHon1RanYuvjVrjgAOgkid4qEx1tVdnJaWPweFxbtySu2gO8o0TcDmhl6Gv6fNHWf8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1741; 7:yo7HwCCx0WWrdRs32TaAud253AeYh3atO1IOgedoxhGrB2dOI/KmERbWW5DoqEvl1Xh8lyi0vi0tRjxVftBaAVkzHNiZ30hXYlv8ssJqCWGBISSejnnR/x/tOh0bwPvmIjrUV5Ij1GqgubI7wvX5O+Tofag37+AmvNsTv47rLlNmWQqI1J7p6uGMw6mavsvsXE/+p0ZbPTornU4v4E3qmQkIKjiSs6B6QxPHQ3N9/ZiAb2y+3c6TBbTACm3xXjqFDCnbBgzNHThYWZ1eUK0OzVNcKueggbLFrHuOZvja46JWjHMtq9s6K9mTwpBA72rlkheIxXM0hLkdWvbf7og+4g== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2017 15:08:40.6404 (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.36]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0701MB1741 Subject: [lng-odp] [API-NEXT PATCH 3/4] linux-gen: crypto: sha-1 and sha-512 not implemented yet 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" Explicitly set capabilities to zero. Signed-off-by: Petri Savolainen --- platform/linux-generic/odp_crypto.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.8.1 diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index b53b0fc..fcbabd1 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux-generic/odp_crypto.c @@ -639,7 +639,9 @@ int odp_crypto_capability(odp_crypto_capability_t *capa) capa->auths.bit.null = 1; capa->auths.bit.md5_hmac = 1; + capa->auths.bit.sha1_hmac = 0; capa->auths.bit.sha256_hmac = 1; + capa->auths.bit.sha512_hmac = 0; capa->auths.bit.aes_gcm = 1; /* Deprecated */ From patchwork Wed Feb 22 15:08:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Petri Savolainen X-Patchwork-Id: 94331 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp956824qgi; Wed, 22 Feb 2017 07:11:42 -0800 (PST) X-Received: by 10.55.187.1 with SMTP id l1mr3467955qkf.175.1487776302908; Wed, 22 Feb 2017 07:11:42 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id q196si1079480qke.113.2017.02.22.07.11.42; Wed, 22 Feb 2017 07:11:42 -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 899E660861; Wed, 22 Feb 2017 15:11:42 +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 A8F586087D; Wed, 22 Feb 2017 15:10:56 +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 5F30762C7C; Wed, 22 Feb 2017 15:10:43 +0000 (UTC) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0099.outbound.protection.outlook.com [104.47.1.99]) by lists.linaro.org (Postfix) with ESMTPS id 610FF62D2B for ; Wed, 22 Feb 2017 15:10:00 +0000 (UTC) Received: from DB6PR07CA0102.eurprd07.prod.outlook.com (10.175.238.144) by HE1PR0701MB2921.eurprd07.prod.outlook.com (10.168.92.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.7; Wed, 22 Feb 2017 15:08:41 +0000 Received: from VE1EUR03FT014.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::205) by DB6PR07CA0102.outlook.office365.com (2603:10a6:6:2c::16) 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; Wed, 22 Feb 2017 15:08:41 +0000 Received-SPF: SoftFail (protection.outlook.com: domain of transitioning linaro.org discourages use of 131.228.2.37 as permitted sender) Received: from hybrid2.ext.net.nokia.com (131.228.2.37) by VE1EUR03FT014.mail.protection.outlook.com (10.152.19.38) 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; Wed, 22 Feb 2017 15:08:41 +0000 Received: from fihe3nok1346.nsn-intra.net (10.158.36.134) by fihe3nok1348.nsn-intra.net (10.158.36.136) with Microsoft SMTP Server (TLS) id 15.1.466.34; Wed, 22 Feb 2017 17:08:38 +0200 Received: from mailrelay.int.nokia.com (10.130.128.30) by fihe3nok1346.nsn-intra.net (10.158.36.134) with Microsoft SMTP Server (TLS) id 15.1.466.34 via Frontend Transport; Wed, 22 Feb 2017 17:08:38 +0200 Received: from fihe3nok0735.emea.nsn-net.net (localhost [127.0.0.1]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8QgE022666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 22 Feb 2017 17:08:26 +0200 Received: from 10.144.19.15 ([10.144.104.219]) by fihe3nok0735.emea.nsn-net.net (8.14.9/8.14.5) with ESMTP id v1MF8Pxn022639 (version=TLSv1/SSLv3 cipher=AES128-SHA256 bits=128 verify=NOT) for ; Wed, 22 Feb 2017 17:08:26 +0200 X-HPESVCS-Source-Ip: 10.144.104.219 From: Petri Savolainen To: Date: Wed, 22 Feb 2017 17:08:25 +0200 Message-ID: <1487776105-32713-5-git-send-email-petri.savolainen@linaro.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1487776105-32713-1-git-send-email-petri.savolainen@linaro.org> References: <1487776105-32713-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.37; IPV:NLI; CTRY:FI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(7916002)(39410400002)(39860400002)(39840400002)(39850400002)(39450400003)(2980300002)(189002)(199003)(53936002)(86362001)(48376002)(110136004)(38730400002)(92566002)(2950100002)(77096006)(5660300001)(5003940100001)(450100001)(2906002)(50466002)(189998001)(8676002)(22756006)(356003)(68736007)(97736004)(81156014)(626004)(33646002)(76176999)(305945005)(50986999)(6916009)(50226002)(36756003)(8936002)(106466001)(2351001)(81166006)(47776003)(105596002)(217873001); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0701MB2921; H:hybrid2.ext.net.nokia.com; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; VE1EUR03FT014; 1:XC1DHLJmF1+g0+7Nu0BbYiEBrUxm/USW5ycRyknY0Zuh2nj8PE6xpWg21Nq5gb2M6LYCi77M7IBkOUezQA3VeK7TkJGniSe1XntK5TdlYmg5oGsUfS1qvAAl8xsBfrNJDRBio4K5Xsw6QJEsq+nPC5l0e/XvgTkblpuXJaK5waCfVbkuFiF/zswzXQyMLnZ8eotoPUfBCzBWWiaSGNARbETCNelCfu740gS1849PSydemsZ0kZj5VGUiK3hD8HbuUx3T4FlfsAfIAAL3YK8UwZPvkURtN77MQnyqhEBARcbqfEUlxcKMOEReo4JL7rbLzHI5ihMKADTa0Ky8Cuv5e/8qMX0vz9Epyg4Nt20TZeJhL0xiyHa0kj06rwjEln9rywR2KmQ+0NXm4gfNP+2dVzmVqHu2KmxOIoSQwSMRd1t08CDlcT3Z2mB8WdrBKGajQPBTDAX0SD5MHhML8rd8XA== X-MS-Office365-Filtering-Correlation-Id: 9ae6775f-350f-4099-5adc-08d45b34aff6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:HE1PR0701MB2921; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 3:HbotAfcFyfokm9V4pw+dlQ7sxY/aVNCqWcRK85uycr4ElX36/7ZAwysk1S2X3RrXYJr4P0H3HLx7vBbqStsN8tMZDLz+4QZpj2O0+Nyi62l2Kee69lad1kZX0RaC10ldl8xKaXOLbfAFV/3k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Rt5KO6PA8UQmN9Lvlk6g6SEGvU+JEHougKmyHEOoeFZ8WK01xXeGReHKtuPcq4Z3uODW+FvqLw3ycLNSMf39HDl+3bVm39KmCyfIVgmaYsX7xgArXbn3KgfEdyPd0cM02liLLHMG9a2Z8C0+z7GXRTJWuYwLNVFL9WxpN/G16X37dphXNfI/j+Vyhyl4N7uO6J6B/dvFzDb5f6/9ohE1NlbNE+1Iw662OiaCvWXh2JnP1ek9I+tR+26DkswEiPHvjKxjOY61Xw42DrvPvPt9bALX6E8uWUe2A6EcNATVVZTvPvHvxQi8AoWMBjMPgPRtb1X7el83xnuA3EHSSDaJSIgEKJvNg9zJ1yVay2xpYTnzdnxSO0kEuSWaAFwRbgLfnusQ3apdCY7gXVOKwfOuYcWk/zF0AXuzN8o6OgSgOGYd4YUXHY1MCwE18F7i72hBeFoeSIheEGU3hcPCu5P9R0+EF4qp3fNbXIsJh2FdIpOTKU3whiM54nOqjFk30LAA2VqEZJymfEvR6l97Cs8y/uICS2j2/qrDNzVRsMLAhUr2fA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123562025)(20161123558025)(20161123564025)(20161123560025)(6072148); SRVR:HE1PR0701MB2921; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB2921; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 4:+cHROvlDd7xqLGBba1RiCST43Vl7FNiHF/o9YMWP9fdYrqCgZMXldpqYE0eCuDhzEYObyVxVkvaQ2GsZQANm5AlHEFOAfmS160SRcB/wYk4C/bT4XTC8007SzgdtM52nK0I2pICLSw0rJ7xFLQNlYOGSRbP1ZpcnBQeELJjYZmeDAPlGWRhEu1dmR9p2525BrTfTSjHsStuou/t9HTTPzME7XkWtDZu3yRpeSvXAFUjvhc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sff3k/+3AgP2xZIcEcFexebxkra74ZZYzQQfvxnr/O7UmneSbSJjm1n42BJzZd6ccsfgiQokdwvg4gbz/wE1oigjfLtjeSfv8t1IkCyTCZdUZU9wRcB2exNQ7SnI42IkQF4P8ygB3ikX4LaDMB1wIuppPcuoY=; 24:rLM4kED/DoihCxLO3oP6a842qVTm32upZTTyyscUviZXTsomK/qSp+bPTr4IwyOsAGuQaoa5l3hED9D7rFows1r87cjyPg6Xrizl32onLfg= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; HE1PR0701MB2921; 7:AwvjEYnEWt9KCrvxnGhjBLCTw+1UXPssmPkFsjNGK6QmubDTxVTpOQXyxeNTuUTBcHvCqPWkVZMW2DzOnY/poI+bVQuNkwHC/67EpDb8HMV6FdmAwPF/iwdfkhCClBSpcudAEhPZgn/B/w6BrS7CGOKTUdu+Lak3aONUN3L+wkggpxP/FJYMZZaONvcIhiSfIS+85QW3oGrAIV/ADgI/T3NeGRtlqRjEa8ufsT1hpxnkuMF2aOFtvLY3zH1awOUDjbhtXgFpC5SWrN76p6ov2vHBd/Ce1JQO6bsXdNdMOaL+nGMdsupCxp4Z6wrWkhP0ZJrtDL1/+84/sv8k2CeuBQ== X-OriginatorOrg: nokia.onmicrosoft.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2017 15:08:41.3573 (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.37]; Helo=[hybrid2.ext.net.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2921 Subject: [lng-odp] [API-NEXT PATCH 4/4] validation: crypto: add stubs for sha-1 and sha-512 tests 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" API enumerations are tested but functional tests are missing still. Signed-off-by: Petri Savolainen --- test/common_plat/validation/api/crypto/crypto.h | 2 ++ .../validation/api/crypto/odp_crypto_test_inp.c | 32 ++++++++++++++++++++++ 2 files changed, 34 insertions(+) -- 2.8.1 diff --git a/test/common_plat/validation/api/crypto/crypto.h b/test/common_plat/validation/api/crypto/crypto.h index 9b909aa..c25cbb3 100644 --- a/test/common_plat/validation/api/crypto/crypto.h +++ b/test/common_plat/validation/api/crypto/crypto.h @@ -23,7 +23,9 @@ void crypto_test_enc_alg_aes128_gcm_ovr_iv(void); void crypto_test_dec_alg_aes128_gcm(void); void crypto_test_dec_alg_aes128_gcm_ovr_iv(void); void crypto_test_alg_hmac_md5(void); +void crypto_test_alg_hmac_sha1(void); void crypto_test_alg_hmac_sha256(void); +void crypto_test_alg_hmac_sha512(void); /* test arrays: */ extern odp_testinfo_t crypto_suite[]; diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c index 43ddb2f..42149ac 100644 --- a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c +++ b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c @@ -330,10 +330,18 @@ static int check_alg_support(odp_cipher_alg_t cipher, odp_auth_alg_t auth) if (!capability.auths.bit.md5_hmac) return ODP_TEST_INACTIVE; break; + case ODP_AUTH_ALG_SHA1_HMAC: + if (!capability.auths.bit.sha1_hmac) + return ODP_TEST_INACTIVE; + break; case ODP_AUTH_ALG_SHA256_HMAC: if (!capability.auths.bit.sha256_hmac) return ODP_TEST_INACTIVE; break; + case ODP_AUTH_ALG_SHA512_HMAC: + if (!capability.auths.bit.sha512_hmac) + return ODP_TEST_INACTIVE; + break; case ODP_AUTH_ALG_AES_GCM: if (!capability.auths.bit.aes_gcm) return ODP_TEST_INACTIVE; @@ -1001,6 +1009,26 @@ void crypto_test_alg_hmac_sha256(void) } } +static int check_alg_hmac_sha1(void) +{ + return check_alg_support(ODP_CIPHER_ALG_NULL, ODP_AUTH_ALG_SHA1_HMAC); +} + +void crypto_test_alg_hmac_sha1(void) +{ + printf(" TEST NOT IMPLEMENTED YET "); +} + +static int check_alg_hmac_sha512(void) +{ + return check_alg_support(ODP_CIPHER_ALG_NULL, ODP_AUTH_ALG_SHA512_HMAC); +} + +void crypto_test_alg_hmac_sha512(void) +{ + printf(" TEST NOT IMPLEMENTED YET "); +} + int crypto_suite_sync_init(void) { suite_context.pool = odp_pool_lookup("packet_pool"); @@ -1052,8 +1080,12 @@ odp_testinfo_t crypto_suite[] = { check_alg_aes_gcm), ODP_TEST_INFO_CONDITIONAL(crypto_test_alg_hmac_md5, check_alg_hmac_md5), + ODP_TEST_INFO_CONDITIONAL(crypto_test_alg_hmac_sha1, + check_alg_hmac_sha1), ODP_TEST_INFO_CONDITIONAL(crypto_test_alg_hmac_sha256, check_alg_hmac_sha256), + ODP_TEST_INFO_CONDITIONAL(crypto_test_alg_hmac_sha512, + check_alg_hmac_sha512), ODP_TEST_INFO_NULL, };