Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							0c0f11f4b3
							
						
					 | 
					
						
						
							
							Update dependencies & includes for session tickets
						
						
						
						
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d59675d92c
							
						
					 | 
					
						
						
							
							Move to callback for session tickets
						
						
						
						
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							2ff873c0fa
							
						
					 | 
					
						
						
							
							Fix SSL_DEBUG macros
						
						
						
						
						
						
						
						Avoid doubled semicolon on usage, which would be bad in non-braced "if"
branches for example. 
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							b0394bebdb
							
						
					 | 
					
						
						
							
							Further adapt prototypes of ticket functions
						
						
						
						
						
						
						
						Moving everything in ticket_keys structure, that will soon become
ticket_context. 
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							69f17280d3
							
						
					 | 
					
						
						
							
							Adapt prototypes of ticket handling functions
						
						
						
						
						
						
						
						This is an intermediate step. The ssl_config argument will be replace by a
ticket context next. 
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							a4a473516e
							
						
					 | 
					
						
						
							
							Rename & move ticket functions to ticket module
						
						
						
						
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							fd6d8978f9
							
						
					 | 
					
						
						
							
							Add new submodule ssl_ticket
						
						
						
						
						
						
					 | 
					
						2015-05-20 11:14:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							53ebe138c6
							
						
					 | 
					
						
						
							
							Fix copyright lines still mentioning Brainspark
						
						
						
						
						
						
					 | 
					
						2015-05-15 12:01:12 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							dad1ad739d
							
						
					 | 
					
						
						
							
							Doc tune-ups
						
						
						
						
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							0b104b056b
							
						
					 | 
					
						
						
							
							Adapt prototype of net_accept() for explicit size
						
						
						
						
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d9e6a3ac10
							
						
					 | 
					
						
						
							
							Rename pk_init_ctx() -> pk_setup()
						
						
						
						
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d4f04dba42
							
						
					 | 
					
						
						
							
							net.c now depends on select() unconditionally
						
						
						
						
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							a63bc94a2d
							
						
					 | 
					
						
						
							
							Remove timing_m_sleep() -> net_usleep()
						
						
						
						
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							151dc77732
							
						
					 | 
					
						
						
							
							Fix some old names that remained
						
						
						
						
						
						
						
						- most in doxygen doc that was never renamed
- some re-introduced in comments/doc/strings by me 
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							8473f87984
							
						
					 | 
					
						
						
							
							Rename cipher_init_ctx() to cipher_setup()
						
						
						
						
						
						
					 | 
					
						2015-05-14 21:58:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							66dc5555f0
							
						
					 | 
					
						
						
							
							mbedtls_ssl_conf_arc4_support() depends on ARC4_C
						
						
						
						
						
						
					 | 
					
						2015-05-14 12:31:10 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							e391c8deda
							
						
					 | 
					
						
						
							
							Doc tune-up
						
						
						
						
						
						
					 | 
					
						2015-05-13 20:34:24 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							70860adccc
							
						
					 | 
					
						
						
							
							SSL timers are no longer just for DTLS
						
						
						
						
						
						
						
						Also, clean up leftover temporary stuff... embarassing 
						
						
					 | 
					
						2015-05-13 10:25:28 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							bbd28f7bcc
							
						
					 | 
					
						
						
							
							Improve SSL doc about I/O and timeouts
						
						
						
						
						
						
					 | 
					
						2015-05-13 10:21:42 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							5a8d56d3a3
							
						
					 | 
					
						
						
							
							Rm hard dependency of DTLS on TIMING_C
						
						
						
						
						
						
					 | 
					
						2015-05-13 10:10:00 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							2e01291739
							
						
					 | 
					
						
						
							
							Prepare the SSL modules for using timer callbacks
						
						
						
						
						
						
					 | 
					
						2015-05-13 09:43:39 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							ca3bdc5632
							
						
					 | 
					
						
						
							
							Add mbedtls_timing_set/get_delay()
						
						
						
						
						
						
					 | 
					
						2015-05-12 20:45:34 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							8903fe0fd3
							
						
					 | 
					
						
						
							
							Define timing_selftest() even with TIMING_ALT
						
						
						
						
						
						
					 | 
					
						2015-05-12 19:30:45 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							31993f271d
							
						
					 | 
					
						
						
							
							Add per-function override for AES
						
						
						
						
						
						
					 | 
					
						2015-05-12 15:41:08 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							70a5010783
							
						
					 | 
					
						
						
							
							Create function-level MBETLS_DES_xxx_ALT
						
						
						
						
						
						
					 | 
					
						2015-05-12 15:17:15 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							e45dba47b5
							
						
					 | 
					
						
						
							
							Remove unused member in des_context
						
						
						
						
						
						
					 | 
					
						2015-05-12 14:54:15 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							d1a82603ad
							
						
					 | 
					
						
						
							
							Tune comments in config.h
						
						
						
						
						
						
					 | 
					
						2015-05-12 14:20:23 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							eecb43cf0b
							
						
					 | 
					
						
						
							
							Manually merge doc fixes from 1.3
						
						
						
						
						
						
					 | 
					
						2015-05-12 12:56:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							43b37cbc92
							
						
					 | 
					
						
						
							
							Fix use of pem_read_buffer() in PK, DHM and X509
						
						
						
						
						
						
					 | 
					
						2015-05-12 11:26:43 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							e6ef16f98c
							
						
					 | 
					
						
						
							
							Change X.509 verify flags to uint32_t
						
						
						
						
						
						
					 | 
					
						2015-05-11 19:54:43 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							e3a062ba1f
							
						
					 | 
					
						
						
							
							Rename ecp_use_known_dp -> mbedtls_ecp_group_load()
						
						
						
						
						
						
					 | 
					
						2015-05-11 18:46:47 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							56cc88a796
							
						
					 | 
					
						
						
							
							Rm ecp_add() and add ecp_muladd()
						
						
						
						
						
						
					 | 
					
						2015-05-11 18:40:45 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							6dde596a03
							
						
					 | 
					
						
						
							
							Remove ecp_sub()
						
						
						
						
						
						
					 | 
					
						2015-05-11 18:18:32 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							aff37e5aa1
							
						
					 | 
					
						
						
							
							Remove ecp_group_read_string()
						
						
						
						
						
						
					 | 
					
						2015-05-11 18:11:57 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							06939cebef
							
						
					 | 
					
						
						
							
							Fix order of ssl_conf vs ssl_setup in programs
						
						
						
						
						
						
						
						Except ssl_phtread_server that will be done later 
						
						
					 | 
					
						2015-05-11 14:35:42 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							01e5e8c1f8
							
						
					 | 
					
						
						
							
							Change a few ssl_conf return types to void
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							6729e79482
							
						
					 | 
					
						
						
							
							Rename ssl_set_xxx() to ssl_conf_xxx()
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							22bfa4bb53
							
						
					 | 
					
						
						
							
							Add ssl_set_hs_ca_chain()
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							1897af9e93
							
						
					 | 
					
						
						
							
							Make conf const inside ssl_context (finally)
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							17a40cd255
							
						
					 | 
					
						
						
							
							Change ssl_own_cert to work on ssl_config
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							1af6c8500b
							
						
					 | 
					
						
						
							
							Add ssl_set_hs_own_cert()
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							8f618a8e65
							
						
					 | 
					
						
						
							
							Rework ssl_set_own_cert() internals
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							120fdbdb3d
							
						
					 | 
					
						
						
							
							Change ssl_set_psk() to act on ssl_config
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							4b68296626
							
						
					 | 
					
						
						
							
							Use a specific function in the PSK callback
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							0a4fb09534
							
						
					 | 
					
						
						
							
							Make xxx_drbg_random() thread-safe
						
						
						
						
						
						
					 | 
					
						2015-05-11 14:35:41 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							750e4d7769
							
						
					 | 
					
						
						
							
							Move ssl_set_rng() to act on config
						
						
						
						
						
						
					 | 
					
						2015-05-11 12:33:27 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							5cb3308e5f
							
						
					 | 
					
						
						
							
							Merge contexts for session cache
						
						
						
						
						
						
					 | 
					
						2015-05-11 12:33:27 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							ae31914990
							
						
					 | 
					
						
						
							
							Rename ssl_legacy_renegotiation() to ssl_set_...
						
						
						
						
						
						
					 | 
					
						2015-05-11 12:33:27 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							662c6e8cdd
							
						
					 | 
					
						
						
							
							Disable truncated HMAC by default
						
						
						
						
						
						
					 | 
					
						2015-05-11 12:33:27 +02:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Manuel Pégourié-Gonnard
							
						 
					 | 
					
						
						
						
						
							
						
						
							1028b74cff
							
						
					 | 
					
						
						
							
							Upgrade default DHM params size
						
						
						
						
						
						
					 | 
					
						2015-05-11 12:33:27 +02:00 | 
					
					
						
						
							
							
							
						
					 |