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:
authorFeng Lu <fenglu@google.com>2014-11-22 09:47:56 +0300
committerAdam Langley <agl@google.com>2014-12-05 01:30:16 +0300
commit41aa325c6a5d68284568ed97533cd70289796206 (patch)
tree0547f6dfe79ad6455d8c8f47bb8078f0c46958bf /ssl/ssl_lib.c
parent74c68e5e379d5a6391c587eee2cc5d4ee520d189 (diff)
ClientHello Padding for Fast Radio Opening in 3G.
The ClientHello record is padded to 1024 bytes when fastradio_padding is enabled. As a result, the 3G cellular radio is fast forwarded to DCH (high data rate) state. This mechanism leads to a substantial redunction in terms of TLS handshake latency, and benefits mobile apps that are running on top of TLS. Change-Id: I3d55197b6d601761c94c0f22871774b5a3dad614
Diffstat (limited to 'ssl/ssl_lib.c')
-rw-r--r--ssl/ssl_lib.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 535baeb2..219cbf57 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -3139,3 +3139,8 @@ int SSL_is_server(SSL *s)
{
return s->server;
}
+
+void SSL_enable_fastradio_padding(SSL *s, char on_off)
+ {
+ s->fastradio_padding = on_off;
+ }