summaryrefslogtreecommitdiffstats
path: root/ssl/tls1.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2012-12-26 16:17:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2012-12-26 16:17:40 +0000
commitccf6a19e2d825f4039163393023bd15670aee946 (patch)
treedd5bb510651fbdaf23fdcef6c4cbf55489dfb7c4 /ssl/tls1.h
parent28fbbe3b1bc89cd5dba6a0d9e74a3cf24d341002 (diff)
Add three Suite B modes to TLS code, supporting RFC6460.
(backport from HEAD)
Diffstat (limited to 'ssl/tls1.h')
-rw-r--r--ssl/tls1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/tls1.h b/ssl/tls1.h
index 4d087e0a2b..c59a02fee3 100644
--- a/ssl/tls1.h
+++ b/ssl/tls1.h
@@ -285,6 +285,11 @@ extern "C" {
/* Flag set for unrecognised algorithms */
#define TLSEXT_nid_unknown 0x1000000
+/* ECC curves */
+
+#define TLSEXT_curve_P_256 23
+#define TLSEXT_curve_P_384 24
+
#ifndef OPENSSL_NO_TLSEXT
#define TLSEXT_MAXLEN_host_name 255