diff options
author | jsing <> | 2020-04-18 14:07:56 +0000 |
---|---|---|
committer | jsing <> | 2020-04-18 14:07:56 +0000 |
commit | d82ca953a5e7d61a103ae2e7c9744db82d74f016 (patch) | |
tree | b56b281a4429eb0ae90ce91eefde6f9a80d7d18f /src/lib/libssl/ssl_locl.h | |
parent | 33d8c111a77ac681a8ecffcda0713ec96c6fe953 (diff) | |
download | openbsd-d82ca953a5e7d61a103ae2e7c9744db82d74f016.tar.gz openbsd-d82ca953a5e7d61a103ae2e7c9744db82d74f016.tar.bz2 openbsd-d82ca953a5e7d61a103ae2e7c9744db82d74f016.zip |
Expose the peer ephemeral public key used for TLSv1.3 key exchange.
SSL_get_server_tmp_key() provides the peer ephemeral public key used
for key exchange. In the case of TLSv1.3 this is essentially the peer
public key from the key share used for TLSv1.3 key exchange, hence make it
availaable via SSL_get_server_tmp_key().
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 07240e31a2..0212166678 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.271 2020/03/16 15:25:14 tb Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.272 2020/04/18 14:07:56 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 | * |
@@ -1288,6 +1288,7 @@ int ssl3_get_client_certificate(SSL *s); | |||
1288 | int ssl3_get_client_key_exchange(SSL *s); | 1288 | int ssl3_get_client_key_exchange(SSL *s); |
1289 | int ssl3_get_cert_verify(SSL *s); | 1289 | int ssl3_get_cert_verify(SSL *s); |
1290 | 1290 | ||
1291 | int ssl_kex_dummy_ecdhe_x25519(EVP_PKEY *pkey); | ||
1291 | int ssl_kex_generate_ecdhe_ecp(EC_KEY *ecdh, int nid); | 1292 | int ssl_kex_generate_ecdhe_ecp(EC_KEY *ecdh, int nid); |
1292 | int ssl_kex_public_ecdhe_ecp(EC_KEY *ecdh, CBB *cbb); | 1293 | int ssl_kex_public_ecdhe_ecp(EC_KEY *ecdh, CBB *cbb); |
1293 | int ssl_kex_peer_public_ecdhe_ecp(EC_KEY *ecdh, int nid, CBS *cbs); | 1294 | int ssl_kex_peer_public_ecdhe_ecp(EC_KEY *ecdh, int nid, CBS *cbs); |