diff mbox series

[RFC,4/6] crypto: ecdh - Add Curve ID for NIST P-384

Message ID 20201217172101.381772-5-daniele.alessandrelli@linux.intel.com
State New
Headers show
Series Keem Bay OCS ECC crypto driver | expand

Commit Message

Daniele Alessandrelli Dec. 17, 2020, 5:20 p.m. UTC
From: Prabhjot Khurana <prabhjot.khurana@intel.com>

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 <prabhjot.khurana@intel.com>
Signed-off-by: Daniele Alessandrelli <daniele.alessandrelli@intel.com>
---
 include/crypto/ecdh.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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