openssl/ssl
Matt Caswell 70af3d8ed7 Avoid repeatedly scanning the list of extensions
Because extensions were keyed by type which is sparse, we were continually
scanning the list to find the one we wanted. The way we stored them also
had the side effect that we were running initialisers/finalisers in a
different oder to the parsers. In this commit we change things so that we
instead key on an index value for each extension.

Perl changes reviewed by Richard Levitte. Non-perl changes reviewed by Rich
Salz

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-12-08 17:18:56 +00:00
..
record Change various repeated wr[someindex]/pkt[someindex] references to a pointer 2016-12-05 17:05:40 +00:00
statem Avoid repeatedly scanning the list of extensions 2016-12-08 17:18:56 +00:00
bio_ssl.c Test the size_t constant time functions 2016-11-04 12:09:46 +00:00
build.info Move client parsing of ServerHello extensions into new framework 2016-12-08 17:18:25 +00:00
d1_lib.c Ensure we are in accept state in DTLSv1_listen 2016-11-29 10:01:49 +00:00
d1_msg.c Convert libssl writing for size_t 2016-11-04 12:09:45 +00:00
d1_srtp.c Move client parsing of ServerHello extensions into new framework 2016-12-08 17:18:25 +00:00
methods.c Add the SSL_METHOD for TLSv1.3 and all other base changes required 2016-11-02 13:08:21 +00:00
packet.c Various style fixes from the TLSv1.3 record changes review 2016-12-05 17:05:40 +00:00
packet_locl.h Add an ability to find out the current write location from a WPACKET 2016-12-05 17:05:40 +00:00
pqueue.c Fix a missed size_t variable declaration 2016-11-04 12:09:46 +00:00
s3_cbc.c Provide some constant time functions for dealing with size_t values 2016-11-04 12:09:46 +00:00
s3_enc.c Fix misc size_t issues causing Windows warnings in 64 bit 2016-11-04 12:09:46 +00:00
s3_lib.c Update state machine to be closer to TLS1.3 2016-11-23 15:31:21 +00:00
s3_msg.c Fix some missed size_t updates 2016-11-04 12:09:45 +00:00
ssl_asn1.c Fix misc size_t issues causing Windows warnings in 64 bit 2016-11-04 12:09:46 +00:00
ssl_cert.c Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
ssl_ciph.c Remove a hack from ssl_test_old 2016-11-16 10:27:40 +00:00
ssl_conf.c Test mac-then-encrypt 2016-11-28 12:23:36 +01:00
ssl_err.c Provide server side extension init and finalisation functions 2016-12-08 17:18:40 +00:00
ssl_init.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_lib.c Implement tls13_change_cipher_state() 2016-11-23 15:31:21 +00:00
ssl_locl.h Avoid repeatedly scanning the list of extensions 2016-12-08 17:18:56 +00:00
ssl_mcnf.c Fix misc size_t issues causing Windows warnings in 64 bit 2016-11-04 12:09:46 +00:00
ssl_rsa.c Indent ssl/ 2016-08-18 14:02:29 +02:00
ssl_sess.c Add support for reference counting using C11 atomics 2016-11-17 22:02:25 +01:00
ssl_stat.c Add missing debug strings. 2016-09-07 16:08:38 -04:00
ssl_txt.c Fix misc size_t issues causing Windows warnings in 64 bit 2016-11-04 12:09:46 +00:00
ssl_utst.c Remove heartbeat support 2016-11-13 16:24:02 -05:00
t1_enc.c Fix EXTMS error introduced by commit 94ed2c6 2016-11-23 09:50:26 +00:00
t1_ext.c Add some missing extensions to SSL_extension_supported() 2016-12-08 17:17:33 +00:00
t1_lib.c Avoid repeatedly scanning the list of extensions 2016-12-08 17:18:56 +00:00
t1_trce.c Add EncryptedExtensions message 2016-12-08 17:17:12 +00:00
tls13_enc.c Fix a travis compilation error 2016-11-29 23:31:10 +00:00
tls_srp.c Indent ssl/ 2016-08-18 14:02:29 +02:00