1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-07 06:42:56 +03:00

ECDH: Fix whitespace and permission problems

This commit is contained in:
Christoph M. Wintersteiger
2019-01-07 14:12:25 +00:00
committed by Janos Follath
parent 0082f9df6f
commit ea24394c03
8 changed files with 30 additions and 29 deletions

12
3rdparty/CMakeLists.txt vendored Executable file → Normal file
View File

@@ -1,6 +1,6 @@
add_subdirectory(everest)
set(src_thirdparty
${src_everest}
PARENT_SCOPE
)
add_subdirectory(everest)
set(src_thirdparty
${src_everest}
PARENT_SCOPE
)

19
3rdparty/everest/CMakeLists.txt vendored Executable file → Normal file
View File

@@ -1,9 +1,10 @@
include_directories(include include/everest include/everest/kremlib)
set(src_everest
${CMAKE_CURRENT_SOURCE_DIR}/library/everest.c
${CMAKE_CURRENT_SOURCE_DIR}/library/Hacl_Curve25519.c
${CMAKE_CURRENT_SOURCE_DIR}/library/x25519.c
${CMAKE_CURRENT_SOURCE_DIR}/library/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c
PARENT_SCOPE
)
include_directories(include include/everest include/everest/kremlib)
set(src_everest
${CMAKE_CURRENT_SOURCE_DIR}/library/everest.c
${CMAKE_CURRENT_SOURCE_DIR}/library/Hacl_Curve25519.c
${CMAKE_CURRENT_SOURCE_DIR}/library/x25519.c
${CMAKE_CURRENT_SOURCE_DIR}/library/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c
PARENT_SCOPE
)

View File

@@ -24,7 +24,9 @@
#endif
#endif
/* TODO: review these two definitions and understand why they're needed. */
/* Since KreMLin emits the inline keyword unconditionally, we follow the
* guidelines at https://gcc.gnu.org/onlinedocs/gcc/Inline.html and make this
* __inline__ to ensure the code compiles with -std=c90 and earlier. */
#ifdef __GNUC__
# define inline __inline__
#endif

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