David Horstmann 
							
						 
					 
					
						
						
							
						
						36fe9188e2 
					 
					
						
						
							
							Merge pull request  #9252  from gabor-mezei-arm/9114_replace_MBEDTLS_MD_CAN_SHA512_with_PSA_WANT  
						
						... 
						
						
						
						Replace MBEDTLS_MD_CAN_SHA512 with its PSA_WANT counterpart 
						
						
					 
					
						2024-09-03 14:07:05 +00:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						99b57bd35a 
					 
					
						
						
							
							Merge pull request  #1272  from eleuzi01/forward-1263  
						
						... 
						
						
						
						Fix 1.3 cli-auth optional reporting of (ext)KeyUsage issues 
						
						
					 
					
						2024-08-28 19:38:36 +02:00 
						 
				 
			
				
					
						
							
							
								Gabor Mezei 
							
						 
					 
					
						
						
							
						
						c15ef93aa5 
					 
					
						
						
							
							Replace MBEDTLS_MD_CAN_SHA512 with PSA_WANT_ALG_SHA_512  
						
						... 
						
						
						
						Signed-off-by: Gabor Mezei <gabor.mezei@arm.com > 
						
						
					 
					
						2024-08-28 18:20:25 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						92a391e0fe 
					 
					
						
						
							
							Always print detailed cert errors in test programs  
						
						... 
						
						
						
						Previously the client was only printing them on handshake success, and
the server was printing them on success and some but not all failures.
This makes ssl-opt.sh more consistent as we can always check for the
presence of the expected message in the output, regardless of whether
the failure is hard or soft.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com > 
						
						
					 
					
						2024-08-16 17:24:05 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						0858fdca38 
					 
					
						
						
							
							Merge pull request  #9189  from misch7/fix-v3.6-issues-9186-and-9188  
						
						... 
						
						
						
						Fix build of v3.6 (issues #9186  and #9188 ) 
						
						
					 
					
						2024-08-12 09:34:17 +00:00 
						 
				 
			
				
					
						
							
							
								Michael Schuster 
							
						 
					 
					
						
						
							
						
						f672b694fa 
					 
					
						
						
							
							Use correct conditionals in programs/ssl (fix unused-function errors)  
						
						... 
						
						
						
						Signed-off-by: Michael Schuster <michael@schuster.ms > 
						
						
					 
					
						2024-08-09 10:29:59 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Schuster 
							
						 
					 
					
						
						
							
						
						0420093795 
					 
					
						
						
							
							Adjust spacing in sample programs  
						
						... 
						
						
						
						Signed-off-by: Michael Schuster <michael@schuster.ms > 
						
						
					 
					
						2024-08-09 10:29:58 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Schuster 
							
						 
					 
					
						
						
							
						
						8db8d6182f 
					 
					
						
						
							
							Fix missing-prototype errors in sample programs  
						
						... 
						
						
						
						Signed-off-by: Michael Schuster <michael@schuster.ms > 
						
						
					 
					
						2024-08-09 10:29:58 +01:00 
						 
				 
			
				
					
						
							
							
								Elena Uziunaite 
							
						 
					 
					
						
						
							
						
						8dde3b3dec 
					 
					
						
						
							
							Replace MBEDTLS_PK_HAVE_ECC_KEYS with PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY  
						
						... 
						
						
						
						Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com > 
						
						
					 
					
						2024-08-05 15:41:58 +01:00 
						 
				 
			
				
					
						
							
							
								Elena Uziunaite 
							
						 
					 
					
						
						
							
						
						0916cd702f 
					 
					
						
						
							
							Replace MBEDTLS_MD_CAN_SHA256 with PSA_WANT_ALG_SHA_256  
						
						... 
						
						
						
						Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com > 
						
						
					 
					
						2024-07-11 11:13:35 +03:00 
						 
				 
			
				
					
						
							
							
								David Horstmann 
							
						 
					 
					
						
						
							
						
						dcf18dd876 
					 
					
						
						
							
							Update paths pointing to tests/data_files  
						
						... 
						
						
						
						These now point to framework/data_files instead.
Signed-off-by: David Horstmann <david.horstmann@arm.com > 
						
						
					 
					
						2024-07-05 15:49:03 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						2cf41a273e 
					 
					
						
						
							
							Merge pull request  #9171  from eleuzi01/replace-mbedtls-md-can-sha384  
						
						... 
						
						
						
						Replace MBEDTLS_MD_CAN_SHA384 with PSA_WANT_ALG_SHA_384 
						
						
					 
					
						2024-07-04 08:56:52 +00:00 
						 
				 
			
				
					
						
							
							
								Elena Uziunaite 
							
						 
					 
					
						
						
							
						
						b476d4bf21 
					 
					
						
						
							
							Replace MBEDTLS_MD_CAN_SHA384 with PSA_WANT_ALG_SHA_384  
						
						... 
						
						
						
						Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com > 
						
						
					 
					
						2024-07-03 10:20:41 +01:00 
						 
				 
			
				
					
						
							
							
								Elena Uziunaite 
							
						 
					 
					
						
						
							
						
						fcc9afaf9d 
					 
					
						
						
							
							Replace MBEDTLS_MD_CAN_SHA224 with PSA_WANT_ALG_SHA_224  
						
						... 
						
						
						
						Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com > 
						
						
					 
					
						2024-07-02 11:08:04 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						aa82464dec 
					 
					
						
						
							
							Merge pull request  #8897  from IVOES/cpp/unbounded-write  
						
						... 
						
						
						
						ssl_mail_client: Fix unbounded write of sprintf() 
						
						
					 
					
						2024-05-02 16:06:23 +00:00 
						 
				 
			
				
					
						
							
							
								Mingjie Shen 
							
						 
					 
					
						
						
							
						
						d97b96f2ec 
					 
					
						
						
							
							ssl_mail_client: Fix code style issue  
						
						... 
						
						
						
						Signed-off-by: Mingjie Shen <shen497@purdue.edu > 
						
						
					 
					
						2024-03-18 14:30:06 -04:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						74191a56e8 
					 
					
						
						
							
							ssl_server2: Split early data enablement from max_early_data_size setting  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-03-14 20:00:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mingjie Shen 
							
						 
					 
					
						
						
							
						
						8e35d96057 
					 
					
						
						
							
							ssl_mail_client: Check return value of mbedtls_snprintf  
						
						... 
						
						
						
						The return value of snprintf() is the number of characters (excluding
the null terminator) which would have been written to the buffer if
enough space had been available. Thus, a return value of size or more
means the output was truncated.
Signed-off-by: Mingjie Shen <shen497@purdue.edu > 
						
						
					 
					
						2024-03-12 16:23:41 -04:00 
						 
				 
			
				
					
						
							
							
								Mingjie Shen 
							
						 
					 
					
						
						
							
						
						0fc20cd447 
					 
					
						
						
							
							ssl_mail_client: Replace snprintf with mbedtls_snprintf  
						
						... 
						
						
						
						Signed-off-by: Mingjie Shen <shen497@purdue.edu > 
						
						
					 
					
						2024-03-12 16:00:28 -04:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						7201bc6b05 
					 
					
						
						
							
							ssl_client2: Fix early data log  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-03-08 16:03:09 +01:00 
						 
				 
			
				
					
						
							
							
								Mingjie Shen 
							
						 
					 
					
						
						
							
						
						7d08983cb2 
					 
					
						
						
							
							ssl_mail_client: Fix unbounded write of sprintf()  
						
						... 
						
						
						
						These calls to sprintf may overflow buf because opt.mail_from and opt.mail_to
are controlled by users. Fix by replacing sprintf with snprintf.
Signed-off-by: Mingjie Shen <shen497@purdue.edu > 
						
						
					 
					
						2024-03-05 18:13:28 -05:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						e33b349c90 
					 
					
						
						
							
							Merge pull request  #8864  from valeriosetti/issue8848  
						
						... 
						
						
						
						Deprecate or remove mbedtls_pk_wrap_as_opaque 
						
						
					 
					
						2024-03-01 15:54:32 +00:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						9b4e964c2c 
					 
					
						
						
							
							Merge pull request  #8760  from ronald-cron-arm/tls13-write-early-data  
						
						... 
						
						
						
						TLS 1.3: Add mbedtls_ssl_write_early_data() API 
						
						
					 
					
						2024-02-29 14:31:55 +00:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						90eca2adb0 
					 
					
						
						
							
							ssl_test_lib: add guards for pk_wrap_as_opaque()  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2024-02-28 10:45:43 +01:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						7541ebea52 
					 
					
						
						
							
							programs: remove usage of mbedtls_pk_wrap_as_opaque() from tests  
						
						... 
						
						
						
						This is replaced with: mbedtls_pk_get_psa_attributes() +
mbedtls_pk_import_into_psa() + mbedtls_pk_setup_opaque().
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2024-02-27 10:44:33 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						7f72a06e02 
					 
					
						
						
							
							Remove cruft  
						
						... 
						
						
						
						Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com > 
						
						
					 
					
						2024-02-22 18:41:25 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						74589ba31c 
					 
					
						
						
							
							ssl_context_info: explicitly note accesses to private fields  
						
						... 
						
						
						
						Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com > 
						
						
					 
					
						2024-02-22 12:12:01 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						72da8b3521 
					 
					
						
						
							
							Don't authorize private access to fields where not actually needed  
						
						... 
						
						
						
						Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com > 
						
						
					 
					
						2024-02-22 12:07:29 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						0aead12706 
					 
					
						
						
							
							ssl_client2: Improve loop writing early data  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-21 17:37:33 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						b4fd47e897 
					 
					
						
						
							
							ssl_client2: Default to library default for early data enablement  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-21 17:37:33 +01:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						0ecb5fd6f5 
					 
					
						
						
							
							Merge pull request  #8574  from ronald-cron-arm/ssl-tickets  
						
						... 
						
						
						
						Fix and align ticket age check in ssl_ticket.c for TLS 1.2 and TLS 1.3 
						
						
					 
					
						2024-02-21 09:38:46 +00:00 
						 
				 
			
				
					
						
							
							
								Janos Follath 
							
						 
					 
					
						
						
							
						
						028a38b7cb 
					 
					
						
						
							
							Merge pull request  #8661  from BensonLiou/use_init_api  
						
						... 
						
						
						
						use mbedtls_ssl_session_init() to init session variable 
						
						
					 
					
						2024-02-19 15:49:34 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Elliott 
							
						 
					 
					
						
						
							
						
						54ad01efed 
					 
					
						
						
							
							Merge remote-tracking branch 'upstream/development' into make_tests_thread_safe  
						
						
						
						
					 
					
						2024-02-09 14:33:58 +00:00 
						 
				 
			
				
					
						
							
							
								Janos Follath 
							
						 
					 
					
						
						
							
						
						7a28738205 
					 
					
						
						
							
							Merge pull request  #8636  from paul-elliott-arm/new_test_thread_interface  
						
						... 
						
						
						
						New test thread interface 
						
						
					 
					
						2024-02-08 12:35:40 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						1d7bc1ecdf 
					 
					
						
						
							
							Merge pull request  #8717  from valeriosetti/issue8030  
						
						... 
						
						
						
						PSA FFDH: feature macros for parameters 
						
						
					 
					
						2024-02-07 10:06:03 +00:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						a5561893e7 
					 
					
						
						
							
							ssl_client2: Add support for early data writing  
						
						... 
						
						
						
						Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-07 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						2fe0ec8c31 
					 
					
						
						
							
							ssl_client2: Add buffer overflow check  
						
						... 
						
						
						
						Add buffer overflow check to build_http_request().
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-07 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						ccfaefa361 
					 
					
						
						
							
							ssl_client2: Switch from int to size_t  
						
						... 
						
						
						
						Switch from int to size_t for some
data lengths and counter local
variables.
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-07 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						4e1bd470fb 
					 
					
						
						
							
							ssl_client2: Move code to build http request  
						
						... 
						
						
						
						Move code to build http request into a
dedicated function.
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-07 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						54a3829453 
					 
					
						
						
							
							ssl_client2: Simplify early_data option  
						
						... 
						
						
						
						No need to define specific early data,
the idea is rather to just send the
usual request data as early data
instead of standard application data.
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-07 08:06:46 +01:00 
						 
				 
			
				
					
						
							
							
								Jerry Yu 
							
						 
					 
					
						
						
							
						
						192e0f9b1d 
					 
					
						
						
							
							ssl_server2: Add read early data support  
						
						... 
						
						
						
						Signed-off-by: Jerry Yu <jerry.h.yu@arm.com >
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-02-01 16:40:47 +01:00 
						 
				 
			
				
					
						
							
							
								Paul Elliott 
							
						 
					 
					
						
						
							
						
						7fd162ec26 
					 
					
						
						
							
							Refactor common PThreads CMake code  
						
						... 
						
						
						
						Move the flags and find of Threads to root CMakeLists.txt, rather
than duplicate these everywhere. Make explicit linking of library with
PThreads use the same mechanism.
Signed-off-by: Paul Elliott <paul.elliott@arm.com > 
						
						
					 
					
						2024-01-24 18:05:53 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Elliott 
							
						 
					 
					
						
						
							
						
						85ea3e623b 
					 
					
						
						
							
							Set preferences before finding Threads in CMake  
						
						... 
						
						
						
						Signed-off-by: Paul Elliott <paul.elliott@arm.com > 
						
						
					 
					
						2024-01-19 15:57:22 +00:00 
						 
				 
			
				
					
						
							
							
								Valerio Setti 
							
						 
					 
					
						
						
							
						
						e8683ce9ef 
					 
					
						
						
							
							ssl_test_lib: add guards for enabled DH groups  
						
						... 
						
						
						
						Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no > 
						
						
					 
					
						2024-01-17 15:56:30 +01:00 
						 
				 
			
				
					
						
							
							
								Ronald Cron 
							
						 
					 
					
						
						
							
						
						d1c106c787 
					 
					
						
						
							
							Define ticket creation time in TLS 1.2 case as well  
						
						... 
						
						
						
						The purpose of this change is to eventually base
the calculation in ssl_ticket.c of the ticket age
when parsing a ticket on the ticket creation time
both in TLS 1.2 and TLS 1.3 case.
Signed-off-by: Ronald Cron <ronald.cron@arm.com > 
						
						
					 
					
						2024-01-15 08:58:19 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Cosgrove 
							
						 
					 
					
						
						
							
						
						3a6059beca 
					 
					
						
						
							
							Merge pull request  #7455  from KloolK/record-size-limit/comply-with-limit  
						
						... 
						
						
						
						Comply with the received Record Size Limit extension 
						
						
					 
					
						2024-01-09 15:22:17 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Elliott 
							
						 
					 
					
						
						
							
						
						4068c7e47c 
					 
					
						
						
							
							Link programs with pthread via cmake  
						
						... 
						
						
						
						All programs are now linked directly with all test code, thus adding a
pthread abstraction into the test code means having to link the programs
with pthread (if the library is found under cmake).
Signed-off-by: Paul Elliott <paul.elliott@arm.com > 
						
						
					 
					
						2024-01-05 21:04:52 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Elliott 
							
						 
					 
					
						
						
							
						
						17c119a5e3 
					 
					
						
						
							
							Migrate to threading_helpers.h  
						
						... 
						
						
						
						Signed-off-by: Paul Elliott <paul.elliott@arm.com > 
						
						
					 
					
						2024-01-05 21:04:52 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Elliott 
							
						 
					 
					
						
						
							
						
						4580d4d829 
					 
					
						
						
							
							Add accessor helpers for mbedtls_test_info  
						
						... 
						
						
						
						Step one of being able to control access to mbedtls_test_info with
a mutex.
Signed-off-by: Paul Elliott <paul.elliott@arm.com > 
						
						
					 
					
						2024-01-05 19:13:43 +00:00 
						 
				 
			
				
					
						
							
							
								Benson Liou 
							
						 
					 
					
						
						
							
						
						6d0a093582 
					 
					
						
						
							
							use mbedtls_ssl_session_init() to init session variable  
						
						... 
						
						
						
						Use mbedtls_ssl_session_init() to init variable just like
session-family APIs described
Signed-off-by: Benson Liou <benson.liou@sony.com > 
						
						
					 
					
						2023-12-27 22:03:24 +08:00