mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-11-03 20:22:59 -05:00 
			
		
		
		
	ECDH: Fix whitespace, permissions
This commit is contained in:
		
							parent
							
								
									999f3b53a1
								
							
						
					
					
						commit
						c3cbddecb5
					
				
							
								
								
									
										0
									
								
								3rdparty/everest/include/everest/everest.h
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								3rdparty/everest/include/everest/everest.h
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								3rdparty/everest/include/everest/x25519.h
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								3rdparty/everest/include/everest/x25519.h
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										3
									
								
								3rdparty/everest/library/everest.c
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										3
									
								
								3rdparty/everest/library/everest.c
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							@ -107,4 +107,5 @@ int mbedtls_everest_calc_secret( mbedtls_ecdh_context_everest *ctx, size_t *olen
 | 
			
		||||
    return mbedtls_x25519_calc_secret( x25519_ctx, olen, buf, blen, f_rng, p_rng );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
 | 
			
		||||
#endif /* MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										0
									
								
								3rdparty/everest/library/x25519.c
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								3rdparty/everest/library/x25519.c
									
									
									
									
										vendored
									
									
										
										
										Executable file → Normal file
									
								
							@ -2078,7 +2078,7 @@
 | 
			
		||||
 */
 | 
			
		||||
//#define MBEDTLS_PLATFORM_GMTIME_R_ALT
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
/**
 | 
			
		||||
 * \def MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
 | 
			
		||||
 *
 | 
			
		||||
 * Enable the verified implementations of crypto primitives
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,7 @@
 | 
			
		||||
#include "mbedtls/ecp.h"
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
 | 
			
		||||
#undef MBEDTLS_ECDH_LEGACY_CONTEXT 
 | 
			
		||||
#undef MBEDTLS_ECDH_LEGACY_CONTEXT
 | 
			
		||||
#include "everest/everest.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										0
									
								
								library/ecdh.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								library/ecdh.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								library/ecdsa.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								library/ecdsa.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										0
									
								
								library/ecp.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										0
									
								
								library/ecp.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
								
								
									
										2
									
								
								programs/test/benchmark.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							
							
						
						
									
										2
									
								
								programs/test/benchmark.c
									
									
									
									
									
										
										
										Executable file → Normal file
									
								
							@ -988,7 +988,7 @@ int main( int argc, char *argv[] )
 | 
			
		||||
    }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if defined(MBEDTLS_ECDH_C) 
 | 
			
		||||
#if defined(MBEDTLS_ECDH_C)
 | 
			
		||||
    if( todo.ecdh )
 | 
			
		||||
    {
 | 
			
		||||
        mbedtls_ecdh_context ecdh_srv, ecdh_cli;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user