Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						6402c35eca 
					 
					
						
						
							
							Remove internal helper mbedtls_ssl_get_groups()  
						
						... 
						
						
						
						Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2025-01-14 12:23:56 +01:00 
						 
				 
			
				
					
						
							
							
								Harry Ramsey 
							
						 
					 
					
						
						
							
						
						0f6bc41a22 
					 
					
						
						
							
							Update includes for each library file  
						
						... 
						
						
						
						Signed-off-by: Harry Ramsey <harry.ramsey@arm.com > 
						
						
					 
					
						2024-10-09 11:18:50 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						93b305dc8e 
					 
					
						
						
							
							tls13: Use a flag not a counter for CCS and HRR handling  
						
						... 
						
						
						
						Reconcile with 5fbd27055dgilles.peskine@arm.com > 
						
						
					 
					
						2024-03-14 15:05:09 +01:00 
						 
				 
			
				
					
						
							
							
								BensonLiou 
							
						 
					 
					
						
						
							
						
						368debd384 
					 
					
						
						
							
							Merge branch 'development' of  https://github.com/Mbed-TLS/mbedtls  into random_bye_on_hrr  
						
						
						
						
					 
					
						2024-03-14 11:42:25 +08:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						139a4185b1 
					 
					
						
						
							
							Merge pull request  #8587  from yanrayw/issue/4911/ssl_setup-check-RNG-configuration  
						
						... 
						
						
						
						TLS: check RNG when calling mbedtls_ssl_setup() 
						
						
					 
					
						2024-03-08 07:38:39 +00:00 
						 
				 
			
				
					
						
							
							
								BensonLiou 
							
						 
					 
					
						
						
							
						
						f862aae7c3 
					 
					
						
						
							
							Merge branch 'development' into random_bye_on_hrr  
						
						
						
						
					 
					
						2024-02-16 15:59:20 +08:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						b4f5076270 
					 
					
						
						
							
							debug: move internal functions declarations to an internal header file  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2024-01-18 15:30:46 +01:00 
						 
				 
			
				
					
						
							
							
								BensonLiou 
							
						 
					 
					
						
						
							
						
						57cf55233e 
					 
					
						
						
							
							Merge branch 'development' of  https://github.com/Mbed-TLS/mbedtls  into random_bye_on_hrr  
						
						
						
						
					 
					
						2024-01-12 17:53:06 +08:00 
						 
				 
			
				
					
						
							
							
								BensonLiou 
							
						 
					 
					
						
						
							
						
						35178fe7ec 
					 
					
						
						
							
							Do not generate new random number while receiving HRR  
						
						... 
						
						
						
						Signed-off-by: BensonLiou <momo1208@gmail.com > 
						
						
					 
					
						2024-01-12 17:52:31 +08:00 
						 
				 
			
				
					
						
							
							
								Pengyu Lv 
							
						 
					 
					
						
						
							
						
						0a1ff2b969 
					 
					
						
						
							
							Consistent renaming  
						
						... 
						
						
						
						Signed-off-by: Pengyu Lv <pengyu.lv@arm.com > 
						
						
					 
					
						2023-12-08 10:01:58 +08:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						4749007f64 
					 
					
						
						
							
							Fix possible integer overflows before widening  
						
						... 
						
						
						
						When calculating a result to go into an mbedtls_ms_time_t, make sure
that arithmetic is performed at the final size to prevent overflow.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2023-12-06 17:22:53 +00:00 
						 
				 
			
				
					
						
							
							
								Yanray Wang 
							
						 
					 
					
						
						
							
						
						c83186effa 
					 
					
						
						
							
							ssl_client: remove RNG check in write_client_hello  
						
						... 
						
						
						
						RNG check is added in ssl_conf_check when calling mbedtls_ssl_setup,
so there is no need to check it again.
Signed-off-by: Yanray Wang <yanray.wang@arm.com > 
						
						
					 
					
						2023-12-04 11:03:14 +08:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						a3b80386d9 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/development' into sign-conversion-part1  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-11-24 11:27:18 +00:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						3f5e1e81b2 
					 
					
						
						
							
							Merge pull request  #8440  from yuhaoth/pr/fix-missing-pre_shared_key-ext-sent-mask  
						
						... 
						
						
						
						Fix missing pre shared key ext sent mask 
						
						
					 
					
						2023-11-22 16:40:12 +00:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						e4a6f5a7ec 
					 
					
						
						
							
							Use size_t cast for pointer subtractions  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-11-21 17:09:46 +00:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						342a555eef 
					 
					
						
						
							
							rename ticket received  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2023-11-21 09:58:19 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						cebffc3446 
					 
					
						
						
							
							change time unit of ticket to milliseconds  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2023-11-21 09:58:18 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						7cca7f6820 
					 
					
						
						
							
							move ext print to the end of write client hello  
						
						... 
						
						
						
						pre_shared_key extension is done at the end. The
information should be print after that
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2023-11-07 15:19:13 +08:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						4eb44e4780 
					 
					
						
						
							
							Standardise some more headers  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-11-03 12:15:12 +00:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						16799db69a 
					 
					
						
						
							
							update headers  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-11-02 19:47:20 +00:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						eda1b1f744 
					 
					
						
						
							
							Merge pull request  #7921  from valeriosetti/issue7613  
						
						... 
						
						
						
						TLS: Clean up ECDSA dependencies 
						
						
					 
					
						2023-09-20 12:47:55 +00:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						170be457bd 
					 
					
						
						
							
							Merge pull request  #8207  from mcagriaksoy/branch_old_try  
						
						... 
						
						
						
						Fixes log level for got supported group message 
						
						
					 
					
						2023-09-15 05:53:00 +00:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						a11eac4292 
					 
					
						
						
							
							code style  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-09-14 16:16:04 +01:00 
						 
				 
			
				
					
						
							
							
								Dave Rodgman 
							
						 
					 
					
						
						
							
						
						e99b24dd9f 
					 
					
						
						
							
							Fix some clang-18 warnings  
						
						... 
						
						
						
						Signed-off-by: Dave Rodgman <dave.rodgman@arm.com > 
						
						
					 
					
						2023-09-14 15:52:02 +01:00 
						 
				 
			
				
					
						
							
							
								mcagriaksoy 
							
						 
					 
					
						
						
							
						
						d9f22804ea 
					 
					
						
						
							
							Fixes log level for got supported group message  
						
						... 
						
						
						
						Signed-off-by: mcagriaksoy <mcagriaksoy@yandex.com > 
						
						
					 
					
						2023-09-13 22:43:38 +02:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						e820c0abc8 
					 
					
						
						
							
							Update spelling "mbed TLS" to "Mbed TLS"  
						
						... 
						
						
						
						The official spelling of the trade mark changed from all-lowercase "mbed"
to normal proper noun capitalization "Mbed" a few years ago. We've been
using the new spelling in new text but still have the old spelling in a
lot of text. This commit updates most occurrences of "mbed TLS":
```
sed -i -e 's/mbed TLS/Mbed TLS/g' $(git ls-files ':!ChangeLog' ':!tests/data_files/**' ':!tests/suites/*.data' ':!programs/x509/*' ':!configs/tfm*')
```
Justification for the omissions:
* `ChangeLog`: historical text.
* `test/data_files/**`, `tests/suites/*.data`, `programs/x509/*`: many
  occurrences are significant names in certificates and such. Changing
  the spelling would invalidate many signatures and tests.
* `configs/tfm*`: this is an imported file. We'll follow the upstream
  updates.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com > 
						
						
					 
					
						2023-09-12 19:18:17 +02:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						e9646ecd08 
					 
					
						
						
							
							tls: fix guards for ECDSA support  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2023-08-03 09:15:28 +02:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						45d56f3d25 
					 
					
						
						
							
							tls: replace ECDSA_C and PK_CAN_ECDSA_SOME with key exchange related ones  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2023-08-01 19:02:38 +02:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						7aeec54094 
					 
					
						
						
							
							tls: replace ECDH_C guards with new helpers  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2023-07-07 17:23:53 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						e80bbf4dbf 
					 
					
						
						
							
							Fix function name after rebase  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-07-05 10:34:40 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						1ffa450882 
					 
					
						
						
							
							tls: client: Improve writing of supported_groups ext  
						
						... 
						
						
						
						Align the TLS 1.3 specific and TLS 1.2 specific
tests done before to call
ssl_write_supported_groups_ext() and inside
thsi function.
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2023-07-04 12:16:25 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						7dda271c1d 
					 
					
						
						
							
							Fix description of functions  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-28 09:16:08 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						76669458af 
					 
					
						
						
							
							Adapt guards in ssl_write_client_hello_body  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-26 17:34:36 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						98d79335d1 
					 
					
						
						
							
							Update guards for supported groups  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-26 16:28:45 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						f595c5b69a 
					 
					
						
						
							
							Use valid guard for filling group list with EC groups  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-16 15:45:37 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						8c0a95374f 
					 
					
						
						
							
							Adapt remaining guards to FFDH  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-15 17:07:10 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						7d42c0d0e5 
					 
					
						
						
							
							Code cleanup  #2  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-13 12:30:40 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						75a5a9c205 
					 
					
						
						
							
							Code cleanup  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-13 09:57:23 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						316c19ef93 
					 
					
						
						
							
							Adapt guards, dependencies + optimizations  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com >
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-06 12:31:09 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						cceb933e30 
					 
					
						
						
							
							Add FFDH definitions and translation functions  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com >
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-06 12:31:07 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						060012c5fd 
					 
					
						
						
							
							ssl_write_supported_groups_ext(): add support for ffdh keys  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2023-06-06 12:31:07 +02:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						d4a5d461de 
					 
					
						
						
							
							library: add remaining changes for the new ECP_LIGHT symbol  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2023-04-11 11:33:50 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						8a12aeec93 
					 
					
						
						
							
							tls: Initialize SSL context tls_version in mbedtls_ssl_setup()  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2023-04-06 10:26:18 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						43cc127d3a 
					 
					
						
						
							
							Fix code style  
						
						... 
						
						
						
						Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2023-02-21 15:39:12 +01:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						b8b07aa24a 
					 
					
						
						
							
							Handle errors from functions that now return int  
						
						... 
						
						
						
						A few functions were changed from returning void to returning int three
commits ago. Make sure their callers check the return values.
This commits was basically a matter of declaring newly-int-returning
functions MBEDTLS_CHECK_RETURN_CRITICAL and then fixing the resulting
warnings. A few functions had to be made int in the process; they were
applied the same process as well.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2023-02-21 15:39:12 +01:00 
						 
				 
			
				
					
						
							
							
								Xiaokang Qian 
							
						 
					 
					
						
						
							
						
						934ce6f6a9 
					 
					
						
						
							
							Rename the finalize_client{server}_hello()  
						
						... 
						
						
						
						Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com > 
						
						
					 
					
						2023-02-08 05:47:48 +00:00 
						 
				 
			
				
					
						
							
							
								Xiaokang Qian 
							
						 
					 
					
						
						
							
						
						7179f810f1 
					 
					
						
						
							
							Restore the empty lines  
						
						... 
						
						
						
						Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com > 
						
						
					 
					
						2023-02-08 05:47:48 +00:00 
						 
				 
			
				
					
						
							
							
								Xiaokang Qian 
							
						 
					 
					
						
						
							
						
						44051f6376 
					 
					
						
						
							
							Refine the state change after write client hello  
						
						... 
						
						
						
						Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com > 
						
						
					 
					
						2023-02-08 05:47:48 +00:00 
						 
				 
			
				
					
						
							
							
								Xiaokang Qian 
							
						 
					 
					
						
						
							
						
						79f77528f5 
					 
					
						
						
							
							Move state change to finalize client hello  
						
						... 
						
						
						
						Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com > 
						
						
					 
					
						2023-02-08 05:47:47 +00:00 
						 
				 
			
				
					
						
							
							
								Xiaokang Qian 
							
						 
					 
					
						
						
							
						
						592021aceb 
					 
					
						
						
							
							Add CCS after client hello in case of early data and comp mode  
						
						... 
						
						
						
						Signed-off-by: Xiaokang Qian <xiaokang.qian@arm.com > 
						
						
					 
					
						2023-02-08 05:47:47 +00:00