publish changes

This commit is contained in:
Archie 2024-09-29 02:04:03 +00:00
parent afc5064a7b
commit ac2c6ac843
1605 changed files with 3354 additions and 3354 deletions

View file

@ -3074,7 +3074,7 @@
*/
/* MPI / BIGNUM options */
//#define MBEDTLS_MPI_WINDOW_SIZE 6 /**< Maximum windows size used. */
//#define MBEDTLS_MPI_WINDOW_SIZE 6 /**< Maximum arch size used. */
//#define MBEDTLS_MPI_MAX_SIZE 1024 /**< Maximum number of bytes for usable MPIs. */
/* CTR_DRBG options */

View file

@ -55,7 +55,7 @@
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x0400
#endif
#include <windows.h>
#include <arch.h>
#include <wincrypt.h>
int mbedtls_platform_entropy_poll( void *data, unsigned char *output, size_t len,

View file

@ -57,7 +57,7 @@
#include <ws2tcpip.h>
#include <winsock2.h>
#include <windows.h>
#include <arch.h>
#if (_WIN32_WINNT < 0x0501)
#include <wspiapi.h>
#endif

View file

@ -33,7 +33,7 @@
#endif
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#endif
#include "psa_crypto_its.h"

View file

@ -44,7 +44,7 @@
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
#include <windows.h>
#include <arch.h>
#include <process.h>
struct _hr_time

View file

@ -53,7 +53,7 @@
#endif
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
#include <windows.h>
#include <arch.h>
#else
#include <time.h>
#endif

View file

@ -64,7 +64,7 @@
#endif
#if defined(_WIN32) && !defined(EFIX64) && !defined(EFI32)
#include <windows.h>
#include <arch.h>
#else
#include <time.h>
#endif

View file

@ -49,7 +49,7 @@
#include <string.h>
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#if !defined(_WIN32_WCE)
#include <io.h>
#endif

View file

@ -53,7 +53,7 @@
#endif
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#if !defined(_WIN32_WCE)
#include <io.h>
#endif

View file

@ -65,7 +65,7 @@ int main( void )
#else
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#endif
#include <string.h>

View file

@ -79,7 +79,7 @@ int main( void )
#if defined(_WIN32) || defined(_WIN32_WCE)
#include <winsock2.h>
#include <windows.h>
#include <arch.h>
#if defined(_MSC_VER)
#if defined(_WIN32_WCE)

View file

@ -60,7 +60,7 @@ int main( void )
#include <string.h>
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#endif
#include "mbedtls/entropy.h"

View file

@ -58,7 +58,7 @@ int main( void )
#include <string.h>
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#endif
#include "mbedtls/entropy.h"

View file

@ -106,7 +106,7 @@ int main( void )
#endif
#if defined(_WIN32)
#include <windows.h>
#include <arch.h>
#endif
/* Size of memory to be allocated for the heap, when using the library's memory

View file

@ -64,7 +64,7 @@ int main( void )
#if (defined(_WIN32) || defined(_WIN32_WCE)) && !defined(EFIX64) && \
!defined(EFI32)
#include <winsock2.h>
#include <windows.h>
#include <arch.h>
#if defined(_MSC_VER)
#if defined(_WIN32_WCE)
#pragma comment( lib, "ws2.lib" )

View file

@ -19,7 +19,7 @@
#if defined(_WIN32_WCE)
#include <windows.h>
#include <arch.h>
extern int main( int, const char ** );

View file

@ -78,7 +78,7 @@ my @excluded_files = qw(
my %excluded_files = ();
foreach (@excluded_files) { $excluded_files{$_} = 1 }
# Need windows line endings!
# Need arch line endings!
my $vsx_hdr_tpl = <<EOT;
<ClInclude Include="..\\..\\{NAME}" />\r
EOT

View file

@ -1,5 +1,5 @@
@rem Build and test Mbed TLS with Visual Studio using msbuild.
@rem Usage: windows_msbuild [RETARGET]
@rem Usage: arch_msbuild [RETARGET]
@rem RETARGET: version of Visual Studio to emulate
@rem https://docs.microsoft.com/en-us/cpp/build/how-to-modify-the-target-framework-and-platform-toolset

View file

@ -149,7 +149,7 @@ class LineIssueTracker(FileIssueTracker):
self.check_file_line(filepath, line, i + 1)
def is_windows_file(filepath):
def is_arch_file(filepath):
_root, ext = os.path.splitext(filepath)
return ext in ('.bat', '.dsp', '.dsw', '.sln', '.vcxproj')
@ -212,7 +212,7 @@ class UnixLineEndingIssueTracker(LineIssueTracker):
def should_check_file(self, filepath):
if not super().should_check_file(filepath):
return False
return not is_windows_file(filepath)
return not is_arch_file(filepath)
def issue_with_line(self, line, _filepath):
return b"\r" in line
@ -226,7 +226,7 @@ class WindowsLineEndingIssueTracker(LineIssueTracker):
def should_check_file(self, filepath):
if not super().should_check_file(filepath):
return False
return is_windows_file(filepath)
return is_arch_file(filepath)
def issue_with_line(self, line, _filepath):
return not line.endswith(b"\r\n") or b"\r" in line[:-2]