Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						48ad3e1e65 
					 
					
						
						
							
							add import/export type for private keys  
						
						
						
						
					 
					
						2010-10-03 16:32:01 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						dfc54c6eea 
					 
					
						
						
							
							now that we use 2k rsa keys, don't make ca keys twise as large  
						
						
						
						
					 
					
						2010-10-03 14:59:43 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						97390e087d 
					 
					
						
						
							
							default to 2k rsa keys, for performance reasons you might want to generate 1k rsa keys though  
						
						
						
						
					 
					
						2010-10-03 14:58:18 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						3128a7a416 
					 
					
						
						
							
							SHA384  
						
						
						
						
					 
					
						2010-09-30 18:36:58 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						9dbcb98f84 
					 
					
						
						
							
							clue in sha512 in rsa signature  
						
						
						
						
					 
					
						2010-09-30 01:00:42 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						6699b5e59a 
					 
					
						
						
							
							get padding size right  
						
						
						
						
					 
					
						2010-09-30 00:20:52 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						42727fc891 
					 
					
						
						
							
							glue in  sha512  
						
						
						
						
					 
					
						2010-09-30 00:18:03 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						07e7cdd4f0 
					 
					
						
						
							
							Support PADDING_NONE for encryption too  
						
						
						
						
					 
					
						2010-09-23 11:11:00 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						74e46d59c1 
					 
					
						
						
							
							add back hx509_crypto_allow_weak  
						
						
						
						
					 
					
						2010-09-22 15:00:13 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						6f328a9194 
					 
					
						
						
							
							add padding support via hx509_crypto_set_padding  
						
						
						
						
					 
					
						2010-09-22 14:41:17 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						5dc765aa16 
					 
					
						
						
							
							use uppercase OID def  
						
						
						
						
					 
					
						2010-08-08 17:02:48 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						d79063ee9f 
					 
					
						
						
							
							add id-secsig-sha-1WithRSAEncryption  
						
						
						
						
					 
					
						2010-08-08 15:49:49 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						2a842e90d3 
					 
					
						
						
							
							Drop MD2 support  
						
						... 
						
						
						
						Patch partly from Guillaume Rousse 
						
						
					 
					
						2010-04-28 22:10:27 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						e57bd85101 
					 
					
						
						
							
							spelling  
						
						
						
						
					 
					
						2010-03-10 20:05:31 -08:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						a059a70746 
					 
					
						
						
							
							Only accept self-signed certs within chains for strong hash types  
						
						
						
						
					 
					
						2009-11-25 05:03:16 -08:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						e538b1e84b 
					 
					
						
						
							
							simplify, make sure length is set properly  
						
						
						
						
					 
					
						2009-09-19 12:57:30 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						26aefa1853 
					 
					
						
						
							
							Don't free rsa (NULL) on failure to parse key  
						
						
						
						
					 
					
						2009-09-19 12:35:27 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						9f5d22b98a 
					 
					
						
						
							
							define and use d2i_RSAPublicKey  
						
						
						
						
					 
					
						2009-08-21 18:57:09 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						72e306c7e3 
					 
					
						
						
							
							Push cert down deaper into the stack  
						
						
						
						
					 
					
						2009-08-21 18:34:21 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						03cb3aa56b 
					 
					
						
						
							
							use EVP_MD_CTX_create  
						
						
						
						
					 
					
						2009-08-20 17:13:09 -07:00 
						 
				 
			
				
					
						
							
							
								Love Hornquist Astrand 
							
						 
					 
					
						
						
							
						
						0bb8ad20d3 
					 
					
						
						
							
							Use EVP for digest signatures  
						
						
						
						
					 
					
						2009-08-15 14:24:00 +02:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						4c302b52f8 
					 
					
						
						
							
							remove unused type  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25285 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-06-17 18:10:59 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						357a115f65 
					 
					
						
						
							
							Use OID variable instead of function.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25248 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-28 01:20:06 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c8e9f23dc4 
					 
					
						
						
							
							Use OID variable instead of function.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25243 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-28 01:19:12 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						2e992827d9 
					 
					
						
						
							
							remove unused variable, set ret before use  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25227 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-25 23:44:29 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						6dc1f7bb98 
					 
					
						
						
							
							Support parsing keys that have the group parameter include in the  
						
						... 
						
						
						
						EC_PrivateKey block. PKCS8's -- PRIVATE KEY -- vs PEM's -- EC PRIVATE KEY --
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25221 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-25 23:43:26 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						b2fe5bd2a0 
					 
					
						
						
							
							handle EC private keys for real  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25218 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-25 23:42:45 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a1b70e2edc 
					 
					
						
						
							
							better error handling  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25193 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-05-06 19:04:02 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c4c71cc41a 
					 
					
						
						
							
							switch to sha256  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24958 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-03-26 23:12:13 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						37e726c136 
					 
					
						
						
							
							wrap more EC stuff in HAVE_OPENSSL  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24925 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-03-22 17:24:26 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						3ba1f9ab68 
					 
					
						
						
							
							remove dup return  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24822 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-27 03:24:57 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a196e330ac 
					 
					
						
						
							
							allow weak in PBE_string2key  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24821 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-27 03:24:38 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						20dfc4e41e 
					 
					
						
						
							
							don't allow weak crypto by default  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24818 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-27 03:24:03 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						41f143471e 
					 
					
						
						
							
							bits for match_keys_ec()  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24803 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-22 23:29:37 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						ff5dab4f4a 
					 
					
						
						
							
							remove rcsid  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24795 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-22 23:28:18 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						aad4e9c130 
					 
					
						
						
							
							don't deref ops, they might be null.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24692 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-14 04:17:47 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						51fc4ba5a1 
					 
					
						
						
							
							don't deref ops, they might be null.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24691 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-14 04:17:37 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						ea8cb168b3 
					 
					
						
						
							
							don't deref ops, they might be null.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24690 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-14 04:17:27 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						28cf0ab673 
					 
					
						
						
							
							abort on interface misuse  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24685 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-14 04:16:30 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						833885be80 
					 
					
						
						
							
							Also select crypto alg based on private key.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24684 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-14 04:16:10 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						c7535afeb8 
					 
					
						
						
							
							drop more oid pointers  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24682 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-14 04:15:47 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						14b272fb98 
					 
					
						
						
							
							remove unused varaibale  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24681 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-11 18:32:05 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						4500883ecc 
					 
					
						
						
							
							Calculate the ECDSA max signature runtime and use that select the signature alg  
						
						... 
						
						
						
						Reorder to make more use to variable instead of functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24680 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-11 18:31:55 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						a327eff68f 
					 
					
						
						
							
							less oid functions  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24677 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-11 05:59:13 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						e1b125884a 
					 
					
						
						
							
							simplify by using the variable  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24675 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-11 05:58:52 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						fee0482b36 
					 
					
						
						
							
							simplify by using the variable  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24674 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-11 05:58:42 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						15205a1900 
					 
					
						
						
							
							drop printf within the library  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24669 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-09 17:18:49 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						252f0b771d 
					 
					
						
						
							
							Fix output length, with this the code sign and verfies cms data.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24668 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-09 17:18:34 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						fd5c282f7d 
					 
					
						
						
							
							Default to hx509_signature_ecdsa_with_sha1 since private crypto  
						
						... 
						
						
						
						backend must be the one that selects the credential since the ec group
might not be able to handle sha256.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24665 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-09 17:17:43 +00:00 
						 
				 
			
				
					
						
							
							
								Love Hörnquist Åstrand 
							
						 
					 
					
						
						
							
						
						76b621899b 
					 
					
						
						
							
							signing alg selection based on private key type.  
						
						... 
						
						
						
						git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24664 ec53bebd-3082-4978-b11e-865c3cabbd6b 
						
						
					 
					
						2009-02-09 17:17:27 +00:00