Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							98893c077b 
							
						 
					 
					
						
						
							
							fix possible free of not yet allocated key parameters  
						
						... 
						
						
						
						There would have been a call to mp_clear_multi() of all the key parameters
that are not yet allocated, in the case where the calculations of p, q,
tmp1 or tmp2 created an error.
This also includes a proposed improvement from the OLPC project to free
elements in the reverse order as they were allocated. 
						
						
					 
					
						2014-07-11 16:44:43 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							30278d1121 
							
						 
					 
					
						
						
							
							fix possible missing free of rnd and rndi  
						
						... 
						
						
						
						There could have been a 'goto error', which misses the free of rnd and
rndi even if they were initialized.
This could happen in cases where a private key operation was done and
afterwards one of the operations like reading back or conversion, would
have failed (which is likely not to happen)
This also includes a proposed improvement from the OLPC project to free
elements in the reverse order as they were allocated. 
						
						
					 
					
						2014-06-15 11:51:38 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							48f521688f 
							
						 
					 
					
						
						
							
							ltc_init_multi: fix missing call to va_end()  
						
						
						
						
					 
					
						2014-05-25 00:35:03 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							8652f33f35 
							
						 
					 
					
						
						
							
							pmac_init: prevent possible out of bounds access of polys[]  
						
						
						
						
					 
					
						2014-05-25 00:35:03 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							ea9b2a858a 
							
						 
					 
					
						
						
							
							der_encode_utf8_string: calm coverity  
						
						
						
						
					 
					
						2014-05-25 00:35:03 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							4c8949e449 
							
						 
					 
					
						
						
							
							aes: calm coverity  
						
						
						
						
					 
					
						2014-05-25 00:35:03 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							50d10790e3 
							
						 
					 
					
						
						
							
							trim trailing spaces  
						
						
						
						
					 
					
						2014-05-25 00:35:03 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							03385a4419 
							
						 
					 
					
						
						
							
							rand_bn: fix call to zeromem()  
						
						
						
						
					 
					
						2014-05-09 23:29:11 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							ca42862d52 
							
						 
					 
					
						
						
							
							math descriptor: add parameter "b" to isprime()  
						
						
						
						
					 
					
						2014-05-09 23:07:41 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							5d2fe0da8c 
							
						 
					 
					
						
						
							
							trim trailing spaces  
						
						
						
						
					 
					
						2014-05-09 23:07:41 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							dc31ca545f 
							
						 
					 
					
						
						
							
							dsa_make_key: fix free of wrong pointer resulting in double-free  
						
						
						
						
					 
					
						2014-05-09 23:07:40 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							c9f93f6571 
							
						 
					 
					
						
						
							
							dsa_make_key: remove surplus semicolon  
						
						
						
						
					 
					
						2014-05-09 22:43:29 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							e9a0a27917 
							
						 
					 
					
						
						
							
							DSA params+key generation according FIPS-186-4 (part 1)  
						
						
						
						
					 
					
						2014-05-09 17:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							77b4b16030 
							
						 
					 
					
						
						
							
							dsa_make_key minor isuue  
						
						
						
						
					 
					
						2014-05-09 17:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							a43bb0fda6 
							
						 
					 
					
						
						
							
							dsa_encrypt_key small correction  
						
						
						
						
					 
					
						2014-05-09 17:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							655336f0cb 
							
						 
					 
					
						
						
							
							tuning RSA interoperability + small fixes  
						
						
						
						
					 
					
						2014-05-09 17:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							67a547086c 
							
						 
					 
					
						
						
							
							DSA sign improvement  
						
						
						
						
					 
					
						2014-05-09 17:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							3908c70d68 
							
						 
					 
					
						
						
							
							tuning DSA key generation  
						
						
						
						
					 
					
						2014-05-09 17:58:50 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							e271b9fdbe 
							
						 
					 
					
						
						
							
							ECC key pair generation according to FIPS-186-4  
						
						
						
						
					 
					
						2014-05-09 17:58:39 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							e600ab9d35 
							
						 
					 
					
						
						
							
							dsa_sign_hash: testing k < q  
						
						
						
						
					 
					
						2014-05-09 16:26:24 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							72022edb8d 
							
						 
					 
					
						
						
							
							dsa_make_key: improved testing x < q  
						
						
						
						
					 
					
						2014-05-09 16:26:24 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							c63c0433c1 
							
						 
					 
					
						
						
							
							enable timing resistant ECC calculations by default  
						
						
						
						
					 
					
						2014-05-08 15:06:42 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							26743d0749 
							
						 
					 
					
						
						
							
							ecc_mulmod_timing: fix compiler warnings  
						
						
						
						
					 
					
						2014-05-08 13:06:24 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							bbf278c779 
							
						 
					 
					
						
						
							
							anubis: fix left-shift  
						
						... 
						
						
						
						this has been brought up in #26  
						
						
					 
					
						2014-05-01 23:02:21 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							ca1a1d18ab 
							
						 
					 
					
						
						
							
							anubis: trim trailing spaces  
						
						
						
						
					 
					
						2014-05-01 23:02:21 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							c211ce7f66 
							
						 
					 
					
						
						
							
							omac: fix accidentally reverted patch  
						
						... 
						
						
						
						introduced in 6816ac3f3fae776adb1372dbffd0441062006109
reverted in 8e7777b5545e46ab545bd51f7fcde7957134ade2 
						
						
					 
					
						2014-05-01 15:44:09 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							aa72cfe1d9 
							
						 
					 
					
						
						
							
							ccm: clarify pt and ct parameters in doc and API description  
						
						... 
						
						
						
						this fixes  #42 
[skip ci] 
						
						
					 
					
						2014-04-30 20:19:11 +02:00 
						 
				 
			
				
					
						
							
							
								mudzot 
							
						 
					 
					
						
						
						
						
							
						
						
							3b7c6512ac 
							
						 
					 
					
						
						
							
							Add #ifdef to make it easier to embed libtomcrypt with LTC_NOTHING  
						
						... 
						
						
						
						Restore LTC_NO_MATH and make rand_prime.c depend on LTC_NO_MATH & LTC_NO_PRNGS 
						
						
					 
					
						2014-04-30 01:13:51 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							b895f13484 
							
						 
					 
					
						
						
							
							minor changes/clean-up sources  
						
						
						
						
					 
					
						2014-04-30 01:10:22 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							b10c03aead 
							
						 
					 
					
						
						
							
							flush content of CVS/SVN tags  
						
						
						
						
					 
					
						2014-04-29 21:13:49 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							8a2bd89518 
							
						 
					 
					
						
						
							
							don't use assembler rotate when compiling for windows 64bit  
						
						
						
						
					 
					
						2014-04-29 19:15:28 +02:00 
						 
				 
			
				
					
						
							
							
								karel-m 
							
						 
					 
					
						
						
						
						
							
						
						
							8afdb8831d 
							
						 
					 
					
						
						
							
							ifdefs related to 64bit MS Windows build  
						
						... 
						
						
						
						Conflicts:
	src/headers/tomcrypt_cfg.h
	src/prngs/rng_get_bytes.c 
						
						
					 
					
						2014-04-29 19:15:28 +02:00 
						 
				 
			
				
					
						
							
							
								Karel Miko 
							
						 
					 
					
						
						
						
						
							
						
						
							0bda0770d9 
							
						 
					 
					
						
						
							
							fix for ASM failures on freebsd/netbsd  
						
						
						
						
					 
					
						2014-04-29 17:32:14 +02:00 
						 
				 
			
				
					
						
							
							
								Paul Howarth 
							
						 
					 
					
						
						
						
						
							
						
						
							445dfa67a6 
							
						 
					 
					
						
						
							
							des.c: Add support for two-key Triple-DES  
						
						... 
						
						
						
						Add two-key 3DES support, needed by pycrypto.
This commit is based on the one for the bundled libtomcrypt 1.16
code in pycrypto:
https://github.com/dlitz/pycrypto/commit/65085f16  
						
						
					 
					
						2014-04-15 11:25:18 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							ae5cc35298 
							
						 
					 
					
						
						
							
							surround most macros with "do{}while(0)"  
						
						
						
						
					 
					
						2014-04-04 01:03:54 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							2bdebb3932 
							
						 
					 
					
						
						
							
							dh: remove including of c-files  
						
						
						
						
					 
					
						2014-04-04 00:38:08 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							71ccad06bd 
							
						 
					 
					
						
						
							
							dh: remove unused variables  
						
						
						
						
					 
					
						2014-04-04 00:38:07 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							f3cdac05ec 
							
						 
					 
					
						
						
							
							sha2: remove including of c-files  
						
						
						
						
					 
					
						2014-04-04 00:38:06 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							cbd59421bd 
							
						 
					 
					
						
						
							
							protect all tables by an ifdef; adjust safer to the same concept  
						
						
						
						
					 
					
						2014-04-04 00:38:05 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							ffeb70b48a 
							
						 
					 
					
						
						
							
							fix typedef of LTC_FAST_TYPE on x86_64  
						
						
						
						
					 
					
						2014-04-03 22:22:01 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							53f04b8e6b 
							
						 
					 
					
						
						
							
							only use ulong32 or ulong64 in the macros  
						
						
						
						
					 
					
						2014-04-03 15:06:56 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							1f7cf9dc0b 
							
						 
					 
					
						
						
							
							move typedefs from tomcrypt_macros.h to tomcrypt_cfg.h  
						
						
						
						
					 
					
						2014-04-03 15:05:56 +02:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							561fe83532 
							
						 
					 
					
						
						
							
							fix strict-aliasing compiler warnings  
						
						
						
						
					 
					
						2014-03-04 21:59:16 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							0aee5f3217 
							
						 
					 
					
						
						
							
							fix wrong spelled macros  
						
						
						
						
					 
					
						2014-03-04 21:50:18 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							84298440f4 
							
						 
					 
					
						
						
							
							trim trailing spaces  
						
						
						
						
					 
					
						2014-03-04 21:50:17 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							1d52f3b49b 
							
						 
					 
					
						
						
							
							tomcrypt_custom.h: move dependency checks together  
						
						
						
						
					 
					
						2014-03-04 18:09:12 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Stapelberg 
							
						 
					 
					
						
						
						
						
							
						
						
							8d7e3d8216 
							
						 
					 
					
						
						
							
							fix typo: s/Endianess/Endianness/  
						
						
						
						
					 
					
						2014-02-25 10:38:29 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							65fd19c1fb 
							
						 
					 
					
						
						
							
							dh: fix renamed macro  
						
						
						
						
					 
					
						2014-02-25 10:09:35 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							77cca4175f 
							
						 
					 
					
						
						
							
							ccm_memory_ex: disable until documented and fixed  
						
						
						
						
					 
					
						2014-02-18 16:07:24 +01:00 
						 
				 
			
				
					
						
							
							
								Steffen Jaeckel 
							
						 
					 
					
						
						
						
						
							
						
						
							ed9940175d 
							
						 
					 
					
						
						
							
							hmac test: add some more tests from RFC's  
						
						
						
						
					 
					
						2014-02-16 18:55:24 +01:00