mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	Declare internal variables static in ecp.c
This commit is contained in:
		
							parent
							
								
									a0d758b917
								
							
						
					
					
						commit
						43863eeffc
					
				@ -75,7 +75,7 @@
 | 
				
			|||||||
 * Counts of point addition and doubling, and field multiplications.
 | 
					 * Counts of point addition and doubling, and field multiplications.
 | 
				
			||||||
 * Used to test resistance of point multiplication to simple timing attacks.
 | 
					 * Used to test resistance of point multiplication to simple timing attacks.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
unsigned long add_count, dbl_count, mul_count;
 | 
					static unsigned long add_count, dbl_count, mul_count;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*
 | 
					/*
 | 
				
			||||||
@ -85,7 +85,7 @@ unsigned long add_count, dbl_count, mul_count;
 | 
				
			|||||||
 *  - size in bits
 | 
					 *  - size in bits
 | 
				
			||||||
 *  - readable name
 | 
					 *  - readable name
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
const ecp_curve_info ecp_supported_curves[] =
 | 
					static const ecp_curve_info ecp_supported_curves[] =
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#if defined(POLARSSL_ECP_DP_BP512R1_ENABLED)
 | 
					#if defined(POLARSSL_ECP_DP_BP512R1_ENABLED)
 | 
				
			||||||
    { POLARSSL_ECP_DP_BP512R1,      28,     512,    "brainpoolP512r1"   },
 | 
					    { POLARSSL_ECP_DP_BP512R1,      28,     512,    "brainpoolP512r1"   },
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user