Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1417304pxu; Thu, 17 Dec 2020 09:26:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJzbDk2qqrBh/68oyrMM2lyDtRPu3HgqhsDGCE/F3qHHVZ+4K/3lHaHXFEdc76RxbsXEjLXz X-Received: by 2002:aa7:dcd0:: with SMTP id w16mr376223edu.229.1608225994247; Thu, 17 Dec 2020 09:26:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608225994; cv=none; d=google.com; s=arc-20160816; b=fhMRGeLoGGEFf/muonRaZEJ8Zo3Z0XJw5WQem/+fx0w83lQ3ViH8Gb+XWtE+cpN54B +wPZwWUAnoY7qsd90iBzwUIKETtYtQ4qjtpPNyS7EB6cQxMpIhxfNk50W9hwVAr8UJSg Vz6/SQu4L5C3GxMBc5Vi5XdvRBbPNj0PeJhTWDOVr2kCD157kG7UYFS8wSbMNtLoYzdY nNgZmEJeja5j3Mtg+YXZE89Hvr+92FKPmNu8uPxD9YcDR1YltWesc76wYng3IXe6Zky6 l00iaLRfvjneYy6fmjp5FMroG0b1K5LWexLdKeInmCIVblM/dkswAAT2FQLdB8njyxhE Ls/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=Aq72ZkSyzs8JlSXQBZz97t6azLpvVy1urM3m8Qpy+xs=; b=GAf1ileP+qKG9cTr3narjsoLD31Q/CRs3Bmam1tMQ82QBr1enEf9duAQM5HnppyU5W 3RWouP4iCG7Pg/k7//Gl6rQVPRIdGri7RLdz1vH4ZpI+RyK+6DKHSogSmk+lHRJSKbz3 seicgeX7EM4IzzGcErH9tZ90an1VkKjZ9pm2Id789IZCSSDcMwYG6SdeoMMWKPwuBnXt X42iji+ziXOejTQHzEO04lK4c6WzhiIo+9uvG1065kq6vDDd6+I5qJsekJMV/AJTJo5I fIHGhHklPhMX2zU7C2QsXUigfGP+KeRH8FHWrOPqjgrUyYSQFPRkO9UMRKTxaGYK0KWU ke7A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j15si4877522edv.474.2020.12.17.09.26.14; Thu, 17 Dec 2020 09:26:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729046AbgLQRYg (ORCPT + 99 others); Thu, 17 Dec 2020 12:24:36 -0500 Received: from mga05.intel.com ([192.55.52.43]:47107 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729044AbgLQRYg (ORCPT ); Thu, 17 Dec 2020 12:24:36 -0500 IronPort-SDR: hD7dZJo1kNefeb9lOVJptgrMYKbTJGkVfgtpKWfGm7blJKW2n7fvJHRrpIruIbeKKfPtn8tI4H AMX+/uBkzvAw== X-IronPort-AV: E=McAfee;i="6000,8403,9838"; a="260017909" X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="260017909" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 09:21:38 -0800 IronPort-SDR: S8KsLpulYGAlE65UJ/zGDyizUtP/VzqcdXfrMwVezhQkQ4f58sHIgOQd1H2h+BecS9491kyhng sZYho1VZQ4uw== X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="369930974" Received: from cdonohoe-mobl2.ger.corp.intel.com (HELO dalessan-mobl1.ir.intel.com) ([10.252.13.146]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 09:21:35 -0800 From: Daniele Alessandrelli To: linux-crypto@vger.kernel.org, Herbert Xu , "David S. Miller" Cc: devicetree@vger.kernel.org, Rob Herring , Daniele Alessandrelli , Mark Gross , Prabhjot Khurana , Elena Reshetova Subject: [RFC PATCH 4/6] crypto: ecdh - Add Curve ID for NIST P-384 Date: Thu, 17 Dec 2020 17:20:59 +0000 Message-Id: <20201217172101.381772-5-daniele.alessandrelli@linux.intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201217172101.381772-1-daniele.alessandrelli@linux.intel.com> References: <20201217172101.381772-1-daniele.alessandrelli@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Prabhjot Khurana Reserve ECC curve id for NIST P-384 curve. This is done to prepare for future support of the P-384 curve by KPP device drivers. Signed-off-by: Prabhjot Khurana Signed-off-by: Daniele Alessandrelli --- include/crypto/ecdh.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/crypto/ecdh.h b/include/crypto/ecdh.h index a5b805b5526d..e4ba1de961e4 100644 --- a/include/crypto/ecdh.h +++ b/include/crypto/ecdh.h @@ -25,6 +25,7 @@ /* Curves IDs */ #define ECC_CURVE_NIST_P192 0x0001 #define ECC_CURVE_NIST_P256 0x0002 +#define ECC_CURVE_NIST_P384 0x0003 /** * struct ecdh - define an ECDH private key -- 2.26.2