Skip to content

Commit d8e29be

Browse files
Update mbedtls from 2.28.0 to 2.28.2 (multitheftauto#2840)
* Update mbedtls from 2.28.0 to 2.28.2 * Remove version based folder structure from mbedtls
1 parent 3dc9ea3 commit d8e29be

File tree

254 files changed

+2310
-1545
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

254 files changed

+2310
-1545
lines changed

vendor/curl/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ project "curl"
44
kind "StaticLib"
55
targetname "curl"
66

7-
includedirs { "include", "lib", "../mbedtls/2.28.0/include", "../zlib" }
7+
includedirs { "include", "lib", "../mbedtls/include", "../zlib" }
88
defines { "BUILDING_LIBCURL", "CURL_STATICLIB", "HTTP_ONLY", "USE_ZLIB", "HAVE_LIBZ", "HAVE_ZLIB_H", "HAVE_CONFIG_H" }
99
warnings "off"
1010

vendor/mbedtls/2.28.0/3rdparty/everest/README.md renamed to vendor/mbedtls/3rdparty/everest/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ The files in this directory stem from [Project Everest](https://project-everest.
22

33
This is a formally verified implementation of Curve25519-based handshakes. The C code is automatically derived from the (verified) [original implementation](https://github.com/project-everest/hacl-star/tree/master/code/curve25519) in the [F* language](https://github.com/fstarlang/fstar) by [KreMLin](https://github.com/fstarlang/kremlin). In addition to the improved safety and security of the implementation, it is also significantly faster than the default implementation of Curve25519 in mbedTLS.
44

5-
The caveat is that not all platforms are supported, although the version in `everest/library/legacy` should work on most systems. The main issue is that some platforms do not provide a 128-bit integer type and KreMLin therefore has to use additional (also verified) code to simulate them, resulting in less of a performance gain overall. Explictly supported platforms are currently `x86` and `x86_64` using gcc or clang, and Visual C (2010 and later).
5+
The caveat is that not all platforms are supported, although the version in `everest/library/legacy` should work on most systems. The main issue is that some platforms do not provide a 128-bit integer type and KreMLin therefore has to use additional (also verified) code to simulate them, resulting in less of a performance gain overall. Explicitly supported platforms are currently `x86` and `x86_64` using gcc or clang, and Visual C (2010 and later).

vendor/mbedtls/2.28.0/3rdparty/everest/include/everest/everest.h renamed to vendor/mbedtls/3rdparty/everest/include/everest/everest.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int mbedtls_everest_make_params( mbedtls_ecdh_context_everest *ctx, size_t *olen
9696
void *p_rng );
9797

9898
/**
99-
* \brief This function parses and processes a TLS ServerKeyExhange
99+
* \brief This function parses and processes a TLS ServerKeyExchange
100100
* payload.
101101
*
102102
* This is the first function used by a TLS client for ECDHE
@@ -116,7 +116,7 @@ int mbedtls_everest_read_params( mbedtls_ecdh_context_everest *ctx,
116116
const unsigned char **buf, const unsigned char *end );
117117

118118
/**
119-
* \brief This function parses and processes a TLS ServerKeyExhange
119+
* \brief This function parses and processes a TLS ServerKeyExchange
120120
* payload.
121121
*
122122
* This is the first function used by a TLS client for ECDHE

0 commit comments

Comments
 (0)