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/NxaenipwimugiacKZEvfC9BB16Pmvjt7Ss/6wmZDZ7enAkztKAh3CLfgDd9a0WUX7OC0OC7aPomYlvTHv27gKUW0NrDNw1HD+9sDbe2B2kiBxepUASUIMDpprc9yCJMPZPLhqr3GPW+mjWm2uDb7d25XYWYOOI312O/Haa95OK4feporb4fltX1HL7R0zKnvpsWLQ; 25:C2mdq8Fw6GF3TBeojO44gXhMKAEg+tSLuQ4m0QvUo5z+FZJZA9+6MIVRZ77H2DjF9uIAatp3z/vAG3e3XdAHzbXQccZZjs3ehRXjCGcsC2wpTrVw4w1soatEGC7GDtv4NpPLK++BKdYpla5LqCY8NNIchzbqxc9PZ2Ze0X9rV/zoq/F9lRpL5Bq2IgxL0dnmWFpALjOOVO0plRmRNZ7LM4ha6njUSNlX5vxH0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cRVv+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+B2qgo1gQt0L1nQrXEl+p7Tm4Kj0oCTH1q+2wXFZ5BNLGdZm3tCG5jnW85U67qRMlTYqu4PBVFh7dkyoHg1XIQEG0cxTAmhTvfx55dQOvoGK9h8ZB5Svkr72AY20GjbC1kRGPd58f1MR9puC/h6Ez9TKVd8qh/C+hVwN7Mz8GEOLL/bCKiMOPWMxSpqBrDC8ZR9Cubx4auiG7KgL5VsmlLgTAlRimfsNnHa6mkeBdKW5Cvh4kRzGD+iqQatS10VJB7RcuE2qbUr7LXTLxNczmWaYofdpvuty29SVN577E/qVD/8WQSIEaBxmTQVeLLgE6YQJUnWXVrmZ7r1e/EtLWINEBR4YcaB1J8dkijZ0Y+RTaEOIbtLLBrtQkjSHYan8bzt72w5FvzOamsxafrNsv6jdT4l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hmwc9ClW0136fq7/s6a4qarqBKtRrxRf0gocCaXGm4KU3tsPrBNwZ9DxV5htcjzBkVUbbCyWsdYNa8KeIohpkJXGw+pk3cRZA3LpzuV/3YEQh/MbUWgkzXHkSDjTzwBd+UxHaYFbG28vZ/ma0bFdcPTgzDdMP49DJ+jn1vT6a+ZVJw/KdTEiXib2GMPljBiM47OdqU X-Microsoft-Exchange-Diagnostics: 1; VI1PR0701MB1741; 6:O/zjLLB4VFYV3pbZCnllggbSv4BO0T6OOucQd1fIbHJwvrjx7PyQQWdddGt7Jy7/3l96j9qMlSYgtyh7kaDA6lI/uzC2DLbcrrGEf59WArBT2RAAN8uitjQDXiniIjk+II+po51oZbMbeim9ffC0X3TFxAhRHxAtNQ3lKi66RgKRPIvPf/ylP10pgzWE/np9ONxHlrawcxcC2XHKyfMBpzRtfJAw7q+q6b355sUSJeio+9xyeKc8rEuY5fNs0e4eClbDBmowV81iipuTJHNDMN7bfEDqF8hx0NiYJqdPt/RlX5w/5PfAg1gO+gkqiDJLREoJj3BukVRoFiubIjxyP6iM6fKStKxAu0hZiGCxsi52UlzTmXvs8EbiJiT2WfXNR0gT7BRi2GkcJ+tC7n4vQwBm8ry8LR78Th5CoHihm1s=; 5:zMudPRxBjpBNa+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 */