summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2018-11-07 01:53:36 +0000
committerjsing <>2018-11-07 01:53:36 +0000
commitce26c3410b909ac6a3b6467a194cd79210869e06 (patch)
treeed0c8f5291a5a12ae7b0215521012a3a6f80e62e /src/lib/libssl/ssl_locl.h
parent6c76feec69da3c4ffea7496b04e0c18edd09d141 (diff)
downloadopenbsd-ce26c3410b909ac6a3b6467a194cd79210869e06.tar.gz
openbsd-ce26c3410b909ac6a3b6467a194cd79210869e06.tar.bz2
openbsd-ce26c3410b909ac6a3b6467a194cd79210869e06.zip
Add TLSv1.3 cipher suites (with appropriate guards).
ok beck@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 95858339ea..8aa29e7e59 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.219 2018/11/05 20:41:30 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.220 2018/11/07 01:53:36 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -208,6 +208,7 @@ __BEGIN_HIDDEN_DECLS
208#define SSL_kDHE 0x00000008L /* tmp DH key no DH cert */ 208#define SSL_kDHE 0x00000008L /* tmp DH key no DH cert */
209#define SSL_kECDHE 0x00000080L /* ephemeral ECDH */ 209#define SSL_kECDHE 0x00000080L /* ephemeral ECDH */
210#define SSL_kGOST 0x00000200L /* GOST key exchange */ 210#define SSL_kGOST 0x00000200L /* GOST key exchange */
211#define SSL_kTLS1_3 0x00000400L /* TLSv1.3 key exchange */
211 212
212/* Bits for algorithm_auth (server authentication) */ 213/* Bits for algorithm_auth (server authentication) */
213#define SSL_aRSA 0x00000001L /* RSA auth */ 214#define SSL_aRSA 0x00000001L /* RSA auth */
@@ -215,6 +216,7 @@ __BEGIN_HIDDEN_DECLS
215#define SSL_aNULL 0x00000004L /* no auth (i.e. use ADH or AECDH) */ 216#define SSL_aNULL 0x00000004L /* no auth (i.e. use ADH or AECDH) */
216#define SSL_aECDSA 0x00000040L /* ECDSA auth*/ 217#define SSL_aECDSA 0x00000040L /* ECDSA auth*/
217#define SSL_aGOST01 0x00000200L /* GOST R 34.10-2001 signature auth */ 218#define SSL_aGOST01 0x00000200L /* GOST R 34.10-2001 signature auth */
219#define SSL_aTLS1_3 0x00000400L /* TLSv1.3 authentication */
218 220
219/* Bits for algorithm_enc (symmetric encryption) */ 221/* Bits for algorithm_enc (symmetric encryption) */
220#define SSL_DES 0x00000001L 222#define SSL_DES 0x00000001L
@@ -251,6 +253,7 @@ __BEGIN_HIDDEN_DECLS
251#define SSL_SSLV3 0x00000002L 253#define SSL_SSLV3 0x00000002L
252#define SSL_TLSV1 SSL_SSLV3 /* for now */ 254#define SSL_TLSV1 SSL_SSLV3 /* for now */
253#define SSL_TLSV1_2 0x00000004L 255#define SSL_TLSV1_2 0x00000004L
256#define SSL_TLSV1_3 0x00000008L
254 257
255 258
256/* Bits for algorithm2 (handshake digests and other extra flags) */ 259/* Bits for algorithm2 (handshake digests and other extra flags) */