mbedtls/scripts
Kevin Kane 0ec1e68548 Replace Windows APIs that are banned in Windows Store apps
CryptGenRandom and lstrlenW are not permitted in Windows Store apps,
meaning apps that use mbedTLS can't ship in the Windows Store.
Instead, use BCryptGenRandom and wcslen, respectively, which are
permitted.

Also make sure conversions between size_t, ULONG, and int are
always done safely; on a 64-bit platform, these types are different
sizes.

Also suppress macro redefinition warning for intsafe.h:

Visual Studio 2010 and earlier generates C4005 when including both
<intsafe.h> and <stdint.h> because a number of <TYPE>_MAX constants
are redefined. This is fixed in later versions of Visual Studio.
The constants are guaranteed to be the same between both files,
however, so we can safely suppress the warning when including
intsafe.h.

Signed-off-by: Kevin Kane <kkane@microsoft.com>
2023-09-25 14:12:20 +01:00
..
data_files Replace Windows APIs that are banned in Windows Store apps 2023-09-25 14:12:20 +01:00
mbedtls_dev Improve directory coverage in PSA repo detection 2023-08-29 09:50:16 +01:00
abi_check.py Unify check_repo_path 2022-09-18 21:17:09 +02:00
apidoc_full.sh Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
assemble_changelog.py Fix case of Mbed TLS in assemble_changelog.py 2022-07-11 11:39:21 +01:00
basic.requirements.txt Add requirement on Jinja to integrate drivers 2021-11-17 19:27:45 +01:00
bump_version.sh Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
ci.requirements.txt Explain the story about cryptography version requirements 2023-08-31 09:30:56 +02:00
code_size_compare.py code_size_compare: handle deleted files and new files properly 2023-08-16 16:08:22 +08:00
code_style.py whitespace fix 2023-07-27 20:00:41 +01:00
config.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
config.py Give a production-sounding name to the p256m option 2023-09-20 20:49:47 +02:00
driver.requirements.txt Set explicit version for the typing packages 2023-09-25 10:25:18 +02:00
ecc-heap.sh Tune coverage of ecc-heap.sh 2022-01-06 12:20:48 +01:00
ecp_comb_table.py Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
find-mem-leak.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
footprint.sh Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
generate_driver_wrappers.py fixed docstring sentence 2022-10-10 19:55:40 +02:00
generate_errors.pl Merge branch 'development' into sha3 2023-02-07 19:55:31 +01:00
generate_features.pl Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
generate_psa_constants.py Allow running source file generators from a subdirectory 2021-05-17 22:46:27 +02:00
generate_query_config.pl Fix generate_query_config.pl usage 2023-09-08 10:53:35 +02:00
generate_ssl_debug_helpers.py Fix extra character in debug string 2023-06-23 21:11:46 +02:00
generate_visualc_files.pl Update some comments & error messages 2023-01-11 18:56:11 +00:00
lcov.sh Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
maintainer.requirements.txt Add Cryptodome to maintainer requirements 2021-12-02 12:50:06 +01:00
make_generated_files.bat Fix test file generation on windows 2023-01-31 14:40:05 +01:00
massif_max.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
memory.sh Rename config.h to mbedtls_config.h 2021-06-28 09:28:33 +01:00
min_requirements.py Add minimum requirements for Python 3.10 support 2022-05-13 16:52:28 +02:00
output_env.sh Use variables for selecting compilers 2023-07-28 17:04:47 +01:00
prepare_release.sh Fix prepare_release.sh -u with CMakeLists.txt 2023-09-09 21:00:30 +02:00
rm-calloc-cast.cocci Remove malloc references in mbedtls/scripts 2017-07-06 10:34:12 +01:00
tmp_ignore_makefiles.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
windows_msbuild.bat Rename VS2010 directory to VS2013 and update Makefiles etc 2023-01-11 18:56:11 +00:00