Ronald Cron 
							
						 
					 
					
						
						
							
						
						be0224aef3 
					 
					
						
						
							
							Merge pull request  #6167  from yuhaoth/pr/finalize-tls13-session-tickets  
						
						
						
						
					 
					
						2022-09-18 21:18:13 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						07018f97d2 
					 
					
						
						
							
							Make legacy_or_psa.h public.  
						
						... 
						
						
						
						As a public header, it should no longer include common.h, just use
build_info.h which is what we actually need anyway.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2022-09-16 12:02:48 +02:00 
						 
				 
			
				
					
						
							
							
								Przemyslaw Stekiel 
							
						 
					 
					
						
						
							
						
						004c2181f0 
					 
					
						
						
							
							ssl_misc.h: hash guards adaptations  
						
						... 
						
						
						
						Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2022-09-14 11:00:57 +02:00 
						 
				 
			
				
					
						
							
							
								Przemek Stekiel 
							
						 
					 
					
						
						
							
						
						153b442cc3 
					 
					
						
						
							
							mbedtls_ssl_tls13_sig_alg_is_supported: adapt guards  
						
						... 
						
						
						
						Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com > 
						
						
					 
					
						2022-09-13 18:08:54 +02:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						db8c5faed7 
					 
					
						
						
							
							Add getting session ticket for client  
						
						... 
						
						
						
						- Move ssl_get_psk_to_offer to `ssl_tls13_client.c`
- Rename to `ssl_tls13_get_psk_to_offer`
- Add session ticket parser
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-08-31 23:24:25 +08:00 
						 
				 
			
				
					
						
							
							
								Andrzej Kurek 
							
						 
					 
					
						
						
							
						
						cccb044804 
					 
					
						
						
							
							Style & formatting fixes  
						
						... 
						
						
						
						Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com > 
						
						
					 
					
						2022-08-23 05:26:02 -04:00 
						 
				 
			
				
					
						
							
							
								Andrzej Kurek 
							
						 
					 
					
						
						
							
						
						25f271557b 
					 
					
						
						
							
							Update SHA and MD5 dependencies in the SSL module  
						
						... 
						
						
						
						The same elements are now also used when MBEDTLS_USE_PSA_CRYPTO
is defined and respective SHA / MD5 defines are missing.
A new set of macros added in #6065  is used to reflect these dependencies.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com > 
						
						
					 
					
						2022-08-22 17:46:50 -04:00 
						 
				 
			
				
					
						
							
							
								Andrzej Kurek 
							
						 
					 
					
						
						
							
						
						a242e83b21 
					 
					
						
						
							
							Rename the sha384 checksum context to reflect its purpose  
						
						... 
						
						
						
						Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com > 
						
						
					 
					
						2022-08-22 17:02:04 -04:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						95b743ca17 
					 
					
						
						
							
							Rename get_pk_type_and_md_alg  
						
						... 
						
						
						
						The function is for both tls12 and tls13 now.
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-07-28 23:08:00 +08:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						f6b8c3297a 
					 
					
						
						
							
							Merge pull request  #6065  from mpg/explore2  
						
						... 
						
						
						
						Driver-only hashes: RSA 1.5 and PK + strategy doc 
						
						
					 
					
						2022-07-28 10:43:38 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						340c559cb3 
					 
					
						
						
							
							Merge pull request  #6079  from yuhaoth/pr/add-tls13-parse-pre_shared_key_offered_psks  
						
						... 
						
						
						
						TLS 1.3: PSK: Add parser/writer of pre_shared_key extension on server side. 
						
						
					 
					
						2022-07-23 08:50:45 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						4beb870fa8 
					 
					
						
						
							
							Merge pull request  #6064  from xkqian/tls13_add_psk  
						
						... 
						
						
						
						Add psk code to tls13 client side 
						
						
					 
					
						2022-07-22 11:35:05 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						3ad67bf4e3 
					 
					
						
						
							
							Rename functions and add test messages  
						
						... 
						
						
						
						Change-Id: Iab51b031ae82d7b2d384de708858be64be75f9ed
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-07-21 15:30:04 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						8698195566 
					 
					
						
						
							
							Address comments of various issues  
						
						... 
						
						
						
						Improve comments
Change coding style
Rename functions
Change-Id: Ia111aef303932cfeee693431c3d48f90342b32e5
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-07-21 15:30:04 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						adab9a6440 
					 
					
						
						
							
							Fix transcript issues and add cases against openssl  
						
						... 
						
						
						
						Change-Id: I496674bdb79f074368f11beaa604ce17a3062bc3
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-07-21 15:30:04 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						008d2bf80b 
					 
					
						
						
							
							Address comments in psk client review  
						
						... 
						
						
						
						Improve comments
Refine cipher suite related code in psk
Refine get_psk_offered()
Change-Id: Ic3b0b5f86eb1e71f11bb499961aa8494284f1840
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-07-21 15:30:04 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						eb69aee6af 
					 
					
						
						
							
							Add psk code to tls13 client side  
						
						... 
						
						
						
						Change-Id: I222b2c9d393889448e5e6ad06638536b54edb703
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-07-21 15:30:04 +02:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						96a2e368dc 
					 
					
						
						
							
							TLS 1.3: Add pre-shared-key multiple psk parser  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-07-21 18:00:13 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						6dcd18d55b 
					 
					
						
						
							
							export hdr checksum function  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-07-21 16:19:50 +08:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						bc817bac76 
					 
					
						
						
							
							TLS 1.3: Limit scope of tls13_kex_modes handshake field  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2022-07-21 09:43:53 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						853854958f 
					 
					
						
						
							
							TLS 1.3: Add selected key exchange mode field  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2022-07-20 17:49:22 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						abac037a7b 
					 
					
						
						
							
							Migrate from old inline to new actual function.  
						
						... 
						
						
						
						This is mostly:
    sed -i 's/mbedtls_psa_translate_md/mbedtls_hash_info_psa_from_md/' \
    library/*.c tests/suites/*.function
This should be good for code size as the old inline function was used
from 10 translation units inside the library, so we have 10 copies at
least.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2022-07-18 21:28:38 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						ce7d76e2ee 
					 
					
						
						
							
							Merge remote-tracking branch 'mbedtls-restricted/development-restricted' into mbedtls-3.2.0rc0-pr  
						
						
						
						
					 
					
						2022-07-11 10:22:37 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						0e39ece23f 
					 
					
						
						
							
							Merge pull request  #5916  from yuhaoth/pr/tls13-refactor-get-sig-alg-from-pk  
						
						... 
						
						
						
						Refactor signature algorithm chooser 
						
						
					 
					
						2022-07-04 09:10:08 +02:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						52b7d923fe 
					 
					
						
						
							
							fix various issues  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-07-01 18:12:44 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						cc5391048e 
					 
					
						
						
							
							fix various issues  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:18:30 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						ee28e7a21d 
					 
					
						
						
							
							add tests for select sig alg  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:17:06 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						a1255e6b8c 
					 
					
						
						
							
							fix various issues  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:16:09 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						80dd5db808 
					 
					
						
						
							
							Remove pkcs1 from certificate verify.  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:16:08 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						5ef71f2723 
					 
					
						
						
							
							remove rsa_pkcs1_* from tls13 support list  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:16:08 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						96ee23eb88 
					 
					
						
						
							
							fix tls12 openssl/gnutls server fail  
						
						... 
						
						
						
						To test version negotiation with tls12 OpenSSL/GnuTLS server, If
`rsa_pss_rsae_*` were sent to server before `rsa_pkcs_*`, server
will return `rsa_pss_rsae_*` as key exchange sig alg. OpenSSL/GnuTLS
can work with this case. mbedTLS will fail due to `rsa_pss_rsae_*`
unsupported.
Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:16:07 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						0c6be8f863 
					 
					
						
						
							
							move big function  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:16:07 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						d099cf0325 
					 
					
						
						
							
							fix unused variable issue  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:47 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						6babfee178 
					 
					
						
						
							
							remove out of scope codes  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:46 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						fb526693c1 
					 
					
						
						
							
							Rename sig_alg cert_key check  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:45 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						7ab7f2b184 
					 
					
						
						
							
							Remove pkcs1 from certificate_verify  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:44 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						08524c55f9 
					 
					
						
						
							
							remove pkcs1_* support  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:44 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						0ebce95785 
					 
					
						
						
							
							create tls12/tls13 sig alg support check  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:43 +08:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						f249ef7821 
					 
					
						
						
							
							refactor get sig algo from pk  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com > 
						
						
					 
					
						2022-06-29 16:13:40 +08:00 
						 
				 
			
				
					
						
							
							
								Glenn Strauss 
							
						 
					 
					
						
						
							
						
						999ef70b27 
					 
					
						
						
							
							Add accessors to config DN hints for cert request  
						
						... 
						
						
						
						mbedtls_ssl_conf_dn_hints()
mbedtls_ssl_set_hs_dn_hints()
Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com > 
						
						
					 
					
						2022-06-28 12:43:59 -04:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						cf600bc07c 
					 
					
						
						
							
							Comment fixes  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2022-06-27 09:28:49 +02:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						ad8c17b9c6 
					 
					
						
						
							
							tls: Add overread/overwrite check failure tracking  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2022-06-27 09:28:49 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						c740345c5b 
					 
					
						
						
							
							Adress review comments  
						
						... 
						
						
						
						Change Code styles
Add test cases
Change-Id: I022bfc66fe509fe767319c4fe5f2541ee05e96fd
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-06-23 03:24:12 +00:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						acb3992251 
					 
					
						
						
							
							Add ALPN extension to the server side  
						
						... 
						
						
						
						CustomizedGitHooks: yes
Change-Id: I6fe1516963e7b5727710872ee91fea7fc51d2776
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-06-22 06:34:58 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						a82a8b9f4b 
					 
					
						
						
							
							Mark internal int SSL functions CHECK_RETURN_CRITICAL  
						
						... 
						
						
						
						Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2022-06-20 21:12:55 +02:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						e0469b5908 
					 
					
						
						
							
							Merge pull request  #931  from AndrzejKurek/clihlo_cookie_pxy_fix  
						
						... 
						
						
						
						Add a client hello cookie_len overflow test 
						
						
					 
					
						2022-06-20 19:35:54 +02:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						81802f43a2 
					 
					
						
						
							
							Select certificate base on the received signature list  
						
						... 
						
						
						
						Change-Id: Ife707db7fcfdb1e761ba86804cbf5dd766a5ee33
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-06-13 03:58:06 +00:00 
						 
				 
			
				
					
						
							
							
								Andrzej Kurek 
							
						 
					 
					
						
						
							
						
						078e9bcda6 
					 
					
						
						
							
							Add the mbedtls prefix to  ssl_check_dtls_clihlo_cookie  
						
						... 
						
						
						
						Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com > 
						
						
					 
					
						2022-06-08 11:47:33 -04:00 
						 
				 
			
				
					
						
							
							
								Andrzej Kurek 
							
						 
					 
					
						
						
							
						
						cfb01948c8 
					 
					
						
						
							
							Add cookie parsing tests to test_suite_ssl  
						
						... 
						
						
						
						Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com > 
						
						
					 
					
						2022-06-06 15:29:15 -04:00 
						 
				 
			
				
					
						
							
							
								XiaokangQian 
							
						 
					 
					
						
						
							
						
						9b2b7716b0 
					 
					
						
						
							
							Change mbedtls_ssl_parse_server_name_ext base on comments  
						
						... 
						
						
						
						Change-Id: I4ae831925cb1899afafb7dc626bfad9be24a5c8c
Signed-off-by: XiaokangQian <xiaokang.qian@arm.com > 
						
						
					 
					
						2022-05-30 08:07:16 +00:00