| 
									
										
										
										
											2014-02-28 12:41:10 +01:00
										 |  |  | // Copyright 2007,2008  Segher Boessenkool  <segher@kernel.crashing.org>
 | 
					
						
							|  |  |  | // Licensed under the terms of the GNU GPL, version 2
 | 
					
						
							|  |  |  | // http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #pragma once
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #include "Common/CommonTypes.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-21 21:16:51 +01:00
										 |  |  | void generate_ecdsa(u8* R, u8* S, const u8* k, const u8* hash); | 
					
						
							| 
									
										
										
										
											2014-02-28 12:41:10 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-21 21:16:51 +01:00
										 |  |  | void ec_priv_to_pub(const u8* k, u8* Q); |