Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-06-18 00:47:58 +0300
committerAdam Langley <agl@google.com>2016-06-27 23:07:42 +0300
commitc42acee63d22c1a4d8f3ee648e98abfdb1341ba2 (patch)
tree78064636100ba18834a274a9a002532566d08590 /include/openssl/ssl.h
parent429fdc0d3d787c6f9cc248ee7cb1d5a763b1f277 (diff)
Stash a copy of the SKX params rather mess with init_buf.
It is an explicit copy of something, but it's a lot easier to reason about than the init_buf/init_num gynmastics we were previously doing. This is along the way to getting init_buf out of here. Change-Id: Ia1819ba9db60ef6db09dd60d208dbc95fcfb4bd2 Reviewed-on: https://boringssl-review.googlesource.com/8432 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/ssl.h')
-rw-r--r--include/openssl/ssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h
index 0e3f3e21..a768fd76 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -4255,6 +4255,11 @@ typedef struct ssl3_state_st {
/* peer_key is the peer's ECDH key. */
uint8_t *peer_key;
uint16_t peer_key_len;
+
+ /* server_params stores the ServerKeyExchange parameters to be signed while
+ * the signature is being computed. */
+ uint8_t *server_params;
+ uint32_t server_params_len;
} tmp;
/* Connection binding to prevent renegotiation attacks */