diff options
author | jsing <> | 2020-01-30 17:09:23 +0000 |
---|---|---|
committer | jsing <> | 2020-01-30 17:09:23 +0000 |
commit | f0f131814afdbc818e8b7b88541fca62af421a5d (patch) | |
tree | 7eeb14d221177f2f4d5d5b5c1ba2452ace34da8e /src/lib/libssl/ssl_locl.h | |
parent | 1f07a6fc3b3b9d44b731e6cf17fd00b540758db8 (diff) | |
download | openbsd-f0f131814afdbc818e8b7b88541fca62af421a5d.tar.gz openbsd-f0f131814afdbc818e8b7b88541fca62af421a5d.tar.bz2 openbsd-f0f131814afdbc818e8b7b88541fca62af421a5d.zip |
Provide struct/functions for handling TLSv1.3 key shares.
Pull out the key share handling code and provide a clean/self contained
interface. This will make it easier to support groups other than X25519.
ok beck@ inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 5ff6f39b45..476381c165 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.258 2020/01/30 16:25:09 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.259 2020/01/30 17:09:23 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 | * |
@@ -458,11 +458,7 @@ typedef struct ssl_handshake_tls13_st { | |||
458 | /* Version proposed by peer server. */ | 458 | /* Version proposed by peer server. */ |
459 | uint16_t server_version; | 459 | uint16_t server_version; |
460 | 460 | ||
461 | /* X25519 key share. */ | 461 | struct tls13_key_share *key_share; |
462 | uint8_t *x25519_public; | ||
463 | uint8_t *x25519_private; | ||
464 | uint8_t *x25519_peer_public; | ||
465 | |||
466 | struct tls13_secrets *secrets; | 462 | struct tls13_secrets *secrets; |
467 | 463 | ||
468 | uint8_t *cookie; | 464 | uint8_t *cookie; |