Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							03f0674985 
							
						 
					 
					
						
						
							
							add compare_testvector() prototype to tomcrypt_misc.h  
						
						
						
						
					 
					
						2017-02-28 20:09:32 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							60bb5440fb 
							
						 
					 
					
						
						
							
							add compare_testvector()  
						
						
						
						
					 
					
						2017-02-21 11:42:24 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							08aabc7f8c 
							
						 
					 
					
						
						
							
							improve print_hex() prototype  
						
						
						
						
					 
					
						2017-02-17 11:53:14 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							efc6844f9c 
							
						 
					 
					
						
						
							
							tests: add function print_hex()  
						
						
						
						
					 
					
						2014-08-28 13:30:26 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							e227000578 
							
						 
					 
					
						
						
							
							tests: remove surplus ';' in DO()/DOX() macros  
						
						
						
						
					 
					
						2014-08-28 13:30:26 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							92274aafb5 
							
						 
					 
					
						
						
							
							add testprof/pkcs_1_eme_test  
						
						
						
						
					 
					
						2014-08-28 13:30:26 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							7302a7cfcb 
							
						 
					 
					
						
						
							
							add testprof/pkcs_1_emsa_test  
						
						
						
						
					 
					
						2014-08-28 13:30:25 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							c99a147d4a 
							
						 
					 
					
						
						
							
							add testprof/pkcs_1_oaep_test  
						
						
						
						
					 
					
						2014-08-28 13:30:25 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							fe1b6eced7 
							
						 
					 
					
						
						
							
							add testprof/pkcs_1_pss_test  
						
						
						
						
					 
					
						2014-08-28 13:30:25 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							b570175b47 
							
						 
					 
					
						
						
							
							add testprof/no_prng  
						
						... 
						
						
						
						a PRNG that is no PRNG as its output is predefined and can be set
by calling add_entropy() 
						
						
					 
					
						2014-08-28 13:30:25 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							394806cab1 
							
						 
					 
					
						
						
							
							tests: use correct format string parameter for 64bit values on windows  
						
						
						
						
					 
					
						2014-08-28 13:27:52 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							4929e4e989 
							
						 
					 
					
						
						
							
							fix warnings in tests  
						
						
						
						
					 
					
						2014-05-01 18:01:13 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							8e7777b554 
							
						 
					 
					
						
						
							
							trim trailing spaces/clean up  
						
						
						
						
					 
					
						2014-02-16 18:41:28 +01:00 
						 
				 
			
				
					
						
							
							
								Patrick Pelletier 
							
						 
					 
					
						
						
						
						
							
						
						
							cecbbb88fc 
							
						 
					 
					
						
						
							
							When a test fails, print the algorithm that it failed on.  
						
						... 
						
						
						
						As near as I can tell, LibTomCrypt doesn't provide any way to tell
which cipher failed when it reports a cipher test failure.  For
example, I was getting:
Algorithm failed test vectors. (5)
cipher_hash_test.c:14:cipher_descriptor[x].test()
But there's no way to tell what value x has, and even if there was, it
would take a bit of digging to determine which algorithm that
corresponds to.  So, I added a variant of the DO() macro, DOX(), which
takes an additional string argument which is displayed on failure.  So
now I get:
Algorithm failed test vectors. (5) - camellia
cipher_hash_test.c:14:cipher_descriptor[x].test() 
						
						
					 
					
						2012-11-18 15:20:10 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							bd7933cc2b 
							
						 
					 
					
						
						
							
							add check for defines of math provider  
						
						
						
						
					 
					
						2012-10-08 10:20:21 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							6fecec107d 
							
						 
					 
					
						
						
							
							rejoined diffie hellman code from ltc 1.05, thanks to Alexander Kurpiers  
						
						
						
						
					 
					
						2011-01-18 20:06:03 +01:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							2de2976d25 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.15  
						
						
						
						
					 
					
						2010-06-16 12:39:06 +02:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							479cc9c261 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.14  
						
						
						
						
					 
					
						2010-06-16 12:39:03 +02:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							1eed98f629 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.13  
						
						
						
						
					 
					
						2010-06-16 12:39:00 +02:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							4a1a5796de 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.07  
						
						
						
						
					 
					
						2010-06-16 12:38:44 +02:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							72412f6dac 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.06  
						
						
						
						
					 
					
						2010-06-16 12:38:41 +02:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							3964a6523a 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.03  
						
						
						
						
					 
					
						2010-06-16 12:38:34 +02:00 
						 
				 
			
				
					
						
							
							
								Tom St Denis 
							
						 
					 
					
						
						
						
						
							
						
						
							6ac9952498 
							
						 
					 
					
						
						
							
							added libtomcrypt-1.01  
						
						
						
						
					 
					
						2010-06-16 12:38:29 +02:00