Daniel King 
							
						 
					 
					
						
						
							
						
						4d8f87b1ca 
					 
					
						
						
							
							Add ChaCha20/Poly1305 ciphers to the selftest program  
						
						
						
						
					 
					
						2018-05-24 13:37:31 +02:00 
						 
				 
			
				
					
						
							
							
								Markku-Juhani O. Saarinen 
							
						 
					 
					
						
						
							
						
						3c0b53b2b0 
					 
					
						
						
							
							ARIA build integration  
						
						
						
						
					 
					
						2018-02-27 12:39:12 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						ff79d27f5c 
					 
					
						
						
							
							selftest: allow excluding a subset of the tests  
						
						... 
						
						
						
						E.g. "selftest -x timing" runs all the self-tests except timing. 
						
						
					 
					
						2017-12-20 21:57:48 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						c82fbb4e14 
					 
					
						
						
							
							selftest: allow running a subset of the tests  
						
						... 
						
						
						
						If given command line arguments, interpret them as test names and only
run those tests. 
						
						
					 
					
						2017-12-20 20:23:13 +01:00 
						 
				 
			
				
					
						
							
							
								Gilles Peskine 
							
						 
					 
					
						
						
							
						
						319ac801a8 
					 
					
						
						
							
							selftest: refactor to separate the list of tests from the logic  
						
						... 
						
						
						
						No behavior change. 
						
						
					 
					
						2017-12-20 20:19:27 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Butcher 
							
						 
					 
					
						
						
							
						
						b981b16379 
					 
					
						
						
							
							Minor fixes to formatting and compilation conditions  
						
						
						
						
					 
					
						2016-10-06 12:51:24 +01:00 
						 
				 
			
				
					
						
							
							
								Brian Murray 
							
						 
					 
					
						
						
							
						
						8b4111c516 
					 
					
						
						
							
							Fix build failure for thread config  
						
						
						
						
					 
					
						2016-10-05 14:19:17 +01:00 
						 
				 
			
				
					
						
							
							
								Brian Murray 
							
						 
					 
					
						
						
							
						
						57863ad7ed 
					 
					
						
						
							
							selftest supports cmac if only MBEDTLS_DES_C is defined  
						
						... 
						
						
						
						Other minor typo fixes 
						
						
					 
					
						2016-10-05 14:19:16 +01:00 
						 
				 
			
				
					
						
							
							
								Robert Cragie 
							
						 
					 
					
						
						
							
						
						dc5c7b98ac 
					 
					
						
						
							
							Add support for AES-128-CMAC and AES-CMAC-PRF-128  
						
						
						
						
					 
					
						2016-10-05 14:19:13 +01:00 
						 
				 
			
				
					
						
							
							
								Andres AG 
							
						 
					 
					
						
						
							
						
						e7723ec284 
					 
					
						
						
							
							Make entropy bias self test poll multiple times  
						
						... 
						
						
						
						Instead of polling the hardware entropy source a single time and
comparing the output with itself, the source is polled at least twice
and make sure that the separate outputs are different. 
						
						
					 
					
						2016-08-30 16:50:48 +01:00 
						 
				 
			
				
					
						
							
							
								Andres AG 
							
						 
					 
					
						
						
							
						
						b34e42e69e 
					 
					
						
						
							
							Add a new self test to entropy module  
						
						... 
						
						
						
						The self test is a quick way to check at startup whether the entropy
sources are functioning correctly. The self test only polls 8 bytes
from the default entropy source and performs the following checks:
- The bytes are not all 0x00 or 0xFF.
- The hardware does not return an error when polled.
- The entropy does not provide data in a patter. Only check pattern
  at byte, word and long word sizes. 
						
						
					 
					
						2016-08-30 16:50:48 +01:00 
						 
				 
			
				
					
						
							
							
								Paul Bakker 
							
						 
					 
					
						
						
							
						
						70940caeeb 
					 
					
						
						
							
							Allow compilation without MBEDTLS_SELF_TEST enabled  
						
						
						
						
					 
					
						2016-08-25 15:42:28 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Butcher 
							
						 
					 
					
						
						
							
						
						ab069c6b46 
					 
					
						
						
							
							Merge branch 'development' into development-restricted  
						
						
						
						
					 
					
						2016-06-23 21:42:26 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Butcher 
							
						 
					 
					
						
						
							
						
						b6a73c9b76 
					 
					
						
						
							
							Add provision to create the entropy seedfile for selftest sample  
						
						... 
						
						
						
						In the selftest sample application, if no seedfile is present, one will be
created so the test can execute. 
						
						
					 
					
						2016-06-23 11:46:41 +01:00 
						 
				 
			
				
					
						
							
							
								Janos Follath 
							
						 
					 
					
						
						
							
						
						15ab7ed0f3 
					 
					
						
						
							
							Merge branch 'development' into development-restricted  
						
						... 
						
						
						
						Conflicts:
	programs/pkey/rsa_decrypt.c
	programs/pkey/rsa_encrypt.c
	programs/test/selftest.c 
						
						
					 
					
						2016-06-14 09:20:46 +01:00 
						 
				 
			
				
					
						
							
							
								Janos Follath 
							
						 
					 
					
						
						
							
						
						98e28a74e3 
					 
					
						
						
							
							Address user reported coverity issues.  
						
						
						
						
					 
					
						2016-06-09 13:41:28 +01:00 
						 
				 
			
				
					
						
							
							
								Janos Follath 
							
						 
					 
					
						
						
							
						
						0c539447c1 
					 
					
						
						
							
							Fixes no return value warning in selftest.c  
						
						
						
						
					 
					
						2016-04-18 09:59:16 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Butcher 
							
						 
					 
					
						
						
							
						
						cd0ee5e499 
					 
					
						
						
							
							Fixes following review of 'iotssl-682-selftest-ci-break'  
						
						
						
						
					 
					
						2016-03-21 22:54:37 +00:00 
						 
				 
			
				
					
						
							
							
								Janos Follath 
							
						 
					 
					
						
						
							
						
						2e3aca2c9e 
					 
					
						
						
							
							Fix test break in 'test-ref-configs.pl'  
						
						
						
						
					 
					
						2016-03-18 16:25:52 +00:00 
						 
				 
			
				
					
						
							
							
								Simon Butcher 
							
						 
					 
					
						
						
							
						
						f1547632dc 
					 
					
						
						
							
							Fixes to style following review  
						
						... 
						
						
						
						Made code spacing consistent with guidelines, and corrected the misnamed test
steps in basic-build-test.sh 
						
						
					 
					
						2016-03-14 23:12:32 +00:00 
						 
				 
			
				
					
						
							
							
								SimonB 
							
						 
					 
					
						
						
							
						
						5a8afb848a 
					 
					
						
						
							
							Fix exit code and add a count of the test suites  
						
						... 
						
						
						
						Now counts and displays the number of test suites executed, which can vary
depending on build configurations.
All tests are now executed as this is a sample and test program, rather than
exit on first failure.
Exit code now restricted to SUCCESS or FAILURE. 
						
						
					 
					
						2016-03-14 23:12:29 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						4d8685b4ff 
					 
					
						
						
							
							Add skeleton for EC J-PAKE module  
						
						
						
						
					 
					
						2015-09-07 12:43:09 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						37ff14062e 
					 
					
						
						
							
							Change main license to Apache 2.0  
						
						
						
						
					 
					
						2015-09-04 14:21:07 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						6fb8187279 
					 
					
						
						
							
							Update date in copyright line  
						
						
						
						
					 
					
						2015-07-28 17:11:58 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						633c6b6485 
					 
					
						
						
							
							Run timing selftest on all platforms  
						
						... 
						
						
						
						Used to fail on our FreeBSD and Windows buildbots. Seems to be working at
least on my Darwin physical machine and on my Windows VM with MSYS2 now. 
						
						
					 
					
						2015-06-26 16:17:30 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						4b00f08e20 
					 
					
						
						
							
							Fix snprintf test  
						
						... 
						
						
						
						Our Windows implementation based on vsnprintf_s( ..., _TRUNCATE ) sometimes
writes *two* terminating NULLs. Allow for that, but obviously bytes past the
end of the buffer mustn't be touched. 
						
						
					 
					
						2015-06-26 14:10:13 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						7b6dcbe993 
					 
					
						
						
							
							Add tests for snprintf  
						
						... 
						
						
						
						- Added in each tests program to be sure they are run (putting them in a test
  suite/function specific to the platform layer would cause them to be skipped
when PLATFORM_C is not defined).
- Platforms have already moved from a standard to a broken snprintf in the
  past [1], so make sure to catch that if it ever happens again.
[1]: http://sourceforge.net/p/mingw-w64/mailman/message/31241434/  
						
						
					 
					
						2015-06-22 14:42:04 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						d14acbc31a 
					 
					
						
						
							
							Test assumptions we make about the platform  
						
						... 
						
						
						
						Things that are not guaranteed by the standard but should be true of all
platforms of interest to us:
- 8-bit chars
- NULL pointers represented by all-bits-zero 
						
						
					 
					
						2015-05-29 12:25:40 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						2cf5a7c98e 
					 
					
						
						
							
							The Great Renaming  
						
						... 
						
						
						
						A simple execution of tmp/invoke-rename.pl 
						
						
					 
					
						2015-04-08 13:25:31 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						b6b16bddc3 
					 
					
						
						
							
							Drop pbkdf2 module (superseded by pkcs5)  
						
						
						
						
					 
					
						2015-03-11 11:31:51 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						7f8099773e 
					 
					
						
						
							
							Rename include directory to mbedtls  
						
						
						
						
					 
					
						2015-03-10 11:23:56 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						fe44643b0e 
					 
					
						
						
							
							Rename website and repository  
						
						
						
						
					 
					
						2015-03-06 13:17:10 +00:00 
						 
				 
			
				
					
						
							
							
								Rich Evans 
							
						 
					 
					
						
						
							
						
						18b78c7498 
					 
					
						
						
							
							cleanup programs  
						
						... 
						
						
						
						Clean up the contents of programs, add more guards to includes, move all
defines to the top of the top of files, remove some unused includes 
						
						
					 
					
						2015-02-13 13:50:05 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						860b51642d 
					 
					
						
						
							
							Fix url again  
						
						
						
						
					 
					
						2015-01-28 17:12:07 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						7c9e75a836 
					 
					
						
						
							
							Remove a few useless #defines  
						
						
						
						
					 
					
						2015-01-28 15:28:29 +01:00 
						 
				 
			
				
					
						
							
							
								Rich Evans 
							
						 
					 
					
						
						
							
						
						f90016aade 
					 
					
						
						
							
							Use platform layer in programs for consistency.  
						
						
						
						
					 
					
						2015-01-28 15:28:28 +01:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						d43ccb66fb 
					 
					
						
						
							
							Quit using deprecated header.  
						
						
						
						
					 
					
						2015-01-23 17:38:09 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						085ab040aa 
					 
					
						
						
							
							Fix website url to use https.  
						
						
						
						
					 
					
						2015-01-23 11:06:27 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						9698f5852c 
					 
					
						
						
							
							Remove maintainer line.  
						
						
						
						
					 
					
						2015-01-23 10:59:00 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						19f6b5dfaa 
					 
					
						
						
							
							Remove redundant "all rights reserved"  
						
						
						
						
					 
					
						2015-01-23 10:54:00 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						a658a4051b 
					 
					
						
						
							
							Update copyright  
						
						
						
						
					 
					
						2015-01-23 09:55:24 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						967a2a5f8c 
					 
					
						
						
							
							Change name to mbed TLS in the copyright notice  
						
						
						
						
					 
					
						2015-01-22 14:28:16 +00:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						5ba1d52f96 
					 
					
						
						
							
							Add memory_buffer_alloc_self_test()  
						
						
						
						
					 
					
						2015-01-13 14:58:00 +01:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						7680698d02 
					 
					
						
						
							
							Temporarily disable timing test on non-Linux  
						
						
						
						
					 
					
						2014-06-13 18:04:42 +02:00 
						 
				 
			
				
					
						
							
							
								Paul Bakker 
							
						 
					 
					
						
						
							
						
						508e573231 
					 
					
						
						
							
							Merge tests for asn1write, XTEA and Entropy modules  
						
						
						
						
					 
					
						2014-06-12 21:26:33 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						e1ac0f8c5d 
					 
					
						
						
							
							Add back timing selftest with new hardclock test  
						
						
						
						
					 
					
						2014-06-12 21:15:50 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						4dd73925ab 
					 
					
						
						
							
							Add entropy_self_test()  
						
						
						
						
					 
					
						2014-06-10 15:38:43 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						a6916fada8 
					 
					
						
						
							
							Add (placeholder) CCM module  
						
						
						
						
					 
					
						2014-05-06 11:28:09 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						cef4ad2509 
					 
					
						
						
							
							Adapt sources to configurable config.h name  
						
						
						
						
					 
					
						2014-04-30 16:40:20 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Pégourié-Gonnard 
							
						 
					 
					
						
						
							
						
						0f79babd4b 
					 
					
						
						
							
							Disable timing_selftest() for now  
						
						
						
						
					 
					
						2014-04-09 15:49:51 +02:00