From patchwork Wed Dec 27 19:00:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Github ODP bot X-Patchwork-Id: 122814 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2540527qgn; Wed, 27 Dec 2017 11:00:56 -0800 (PST) X-Google-Smtp-Source: ACJfBovCzX2rqGYOMxk/vDGK68RJJhutRcWegVrqhWp9KY1mQdIbjjbofBagJSwMGueYE+XA5dMb X-Received: by 10.55.32.10 with SMTP id g10mr32122586qkg.65.1514401256461; Wed, 27 Dec 2017 11:00:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514401256; cv=none; d=google.com; s=arc-20160816; b=sOPoyDEFH/wvNMZfymSSyi1SPfOqComY+HuzM6PyrtKHBLynr4Y3mKagEF18W99hCe cWEVOc9rKeEYVtiWXLEeuoxiK5uSx20bRhj4IJMMGVzOKs4sjWCcLk1AMJMeqXxHpTI4 cDN03phRpUpxz2jPGYYFJ6AhyVkT2jy9jr5ZE2Tj2J4o6rHKNewSLyf520XwN9iUPSgO DvdlCNKEG6A+eQRxQ7PIgIynTATLK5hqYIj3rsKuVckcNcOHJGCPmkKF+mGsz4LGJOq1 2KcXFVXFrQ02JQDBs4sRza210LxIfcheOHlMz9VmWayi3S7neXo6oamud1lN5w06kqy/ 8A+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:github-pr-num :references:in-reply-to:message-id:date:to:from:delivered-to :arc-authentication-results; bh=as3/kS4SWzf5bmBIA+B+++rtVW57rVy+jl+R2y1Fp3A=; b=XEC9qTeEupYff5FqTEZNnlpyHiZyoUI/FMe9viYzL/Gn+LaKZbNVHT4beoc7rvCt/j bbrmr4q79fvxP9PZwtfK367AZbxWn+583QXrNOS6IvgDR5suy1WcuBggO0NsuItHEF5/ upyz3CLhKjOpd+20Ms60uk+TWy4q4KfjNtfxDgQ6rH32oxscTD2Bk2EUlsVVUQl5JZPA XP7Pdx3Mw/sOtpxotJLLTH2owvmfe9TQnDOlNs0piydkuylGoq9PfRVSunMbOKvm63N4 RfYWLiIYB8Nqrg0Gx9u3855hErg2ZCQ+lEF29KlF4iqfzU+rDOWgO0XBtiUIk2BkVXKa OVYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from lists.linaro.org (ec2-54-197-127-237.compute-1.amazonaws.com. [54.197.127.237]) by mx.google.com with ESMTP id h4si1534410qkd.81.2017.12.27.11.00.56; Wed, 27 Dec 2017 11:00:56 -0800 (PST) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) client-ip=54.197.127.237; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.197.127.237 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: by lists.linaro.org (Postfix, from userid 109) id 2C929608E8; Wed, 27 Dec 2017 19:00:56 +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=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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 EFDD3608F6; Wed, 27 Dec 2017 19:00:18 +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 0ADA3608EC; Wed, 27 Dec 2017 19:00:14 +0000 (UTC) Received: from forward100o.mail.yandex.net (forward100o.mail.yandex.net [37.140.190.180]) by lists.linaro.org (Postfix) with ESMTPS id 75514608E2 for ; Wed, 27 Dec 2017 19:00:11 +0000 (UTC) Received: from mxback9j.mail.yandex.net (mxback9j.mail.yandex.net [IPv6:2a02:6b8:0:1619::112]) by forward100o.mail.yandex.net (Yandex) with ESMTP id 0BD032A20699 for ; Wed, 27 Dec 2017 22:00:10 +0300 (MSK) Received: from smtp1p.mail.yandex.net (smtp1p.mail.yandex.net [2a02:6b8:0:1472:2741:0:8b6:6]) by mxback9j.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 6uuiCIDIrB-095CKI0d; Wed, 27 Dec 2017 22:00:10 +0300 Received: by smtp1p.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3rv1tnIVjQ-09v0hkRM; Wed, 27 Dec 2017 22:00:09 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) From: Github ODP bot To: lng-odp@lists.linaro.org Date: Wed, 27 Dec 2017 22:00:06 +0300 Message-Id: <1514401208-30010-2-git-send-email-odpbot@yandex.ru> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514401208-30010-1-git-send-email-odpbot@yandex.ru> References: <1514401208-30010-1-git-send-email-odpbot@yandex.ru> Github-pr-num: 374 Subject: [lng-odp] [PATCH API-NEXT v2 1/3] linux-gen: ipsec: stop supporting DES operation 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" From: Dmitry Eremin-Solenikov RFC 7321 (and RFC 8221) mark single-key DES as 'MUST NOT' be implemented. Single-key DES is being phased out of ODP, so drop its support. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 374 (lumag:no-des) ** https://github.com/Linaro/odp/pull/374 ** Patch: https://github.com/Linaro/odp/pull/374.patch ** Base sha: a7b46491ca049998dc38b0a5b29213a407931523 ** Merge commit sha: 681726cebb6b8b580b1180f1c97eb29176d20b8c **/ platform/linux-generic/odp_ipsec_sad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/linux-generic/odp_ipsec_sad.c b/platform/linux-generic/odp_ipsec_sad.c index 845a73dea..8d0141bd4 100644 --- a/platform/linux-generic/odp_ipsec_sad.c +++ b/platform/linux-generic/odp_ipsec_sad.c @@ -196,7 +196,6 @@ uint32_t _odp_ipsec_cipher_iv_len(odp_cipher_alg_t cipher) switch (cipher) { case ODP_CIPHER_ALG_NULL: return 0; - case ODP_CIPHER_ALG_DES: case ODP_CIPHER_ALG_3DES_CBC: return 8; #if ODP_DEPRECATED_API @@ -366,7 +365,6 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const odp_ipsec_sa_param_t *param) ipsec_sa->esp_iv_len = 0; ipsec_sa->esp_block_len = 1; break; - case ODP_CIPHER_ALG_DES: case ODP_CIPHER_ALG_3DES_CBC: ipsec_sa->esp_iv_len = 8; ipsec_sa->esp_block_len = 8;