ECDH: Fix whitespace, permissions

This commit is contained in:
Christoph M. Wintersteiger 2018-12-14 11:03:02 +00:00 committed by Janos Follath
parent 999f3b53a1
commit c3cbddecb5
10 changed files with 5 additions and 4 deletions

0
3rdparty/everest/include/everest/everest.h vendored Executable file → Normal file
View file

0
3rdparty/everest/include/everest/x25519.h vendored Executable file → Normal file
View file

3
3rdparty/everest/library/everest.c vendored Executable file → Normal file
View 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 ); 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
View file

View file

@ -2078,7 +2078,7 @@
*/ */
//#define MBEDTLS_PLATFORM_GMTIME_R_ALT //#define MBEDTLS_PLATFORM_GMTIME_R_ALT
/* /**
* \def MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED * \def MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
* *
* Enable the verified implementations of crypto primitives * Enable the verified implementations of crypto primitives

View file

@ -43,7 +43,7 @@
#include "mbedtls/ecp.h" #include "mbedtls/ecp.h"
#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED) #if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
#undef MBEDTLS_ECDH_LEGACY_CONTEXT #undef MBEDTLS_ECDH_LEGACY_CONTEXT
#include "everest/everest.h" #include "everest/everest.h"
#endif #endif

0
library/ecdh.c Executable file → Normal file
View file

0
library/ecdsa.c Executable file → Normal file
View file

0
library/ecp.c Executable file → Normal file
View file

2
programs/test/benchmark.c Executable file → Normal file
View file

@ -988,7 +988,7 @@ int main( int argc, char *argv[] )
} }
#endif #endif
#if defined(MBEDTLS_ECDH_C) #if defined(MBEDTLS_ECDH_C)
if( todo.ecdh ) if( todo.ecdh )
{ {
mbedtls_ecdh_context ecdh_srv, ecdh_cli; mbedtls_ecdh_context ecdh_srv, ecdh_cli;