Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest Mbed TLS development (as of 2019-05-21) #118

Merged
merged 89 commits into from May 22, 2019
Merged
Changes from 1 commit
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
66c1e2c
Generate tags for Vi, for Emacs and with Global
gilles-peskine-arm Jan 16, 2018
ceeea02
Improve .gitignore grouping and documentation
gilles-peskine-arm Feb 25, 2019
81fb206
Ignore more generated files: seedfile, apidoc
gilles-peskine-arm Feb 25, 2019
7346b31
Fix CMake build error on Cygwin and minGW platforms
geesun Feb 21, 2019
88aaf65
Remove key length field from ssl_transform
hanno-arm Dec 27, 2017
2e24c3b
Provide standalone version of `ssl_decrypt_buf`
hanno-arm Dec 27, 2017
e694c3e
Remove ciphersuite_info from ssl_transform
hanno-arm Dec 27, 2017
9eddaeb
Provide standalone version of `ssl_encrypt_buf`
hanno-arm Dec 27, 2017
a18d132
Add tests for record encryption/decryption
hanno-arm Jan 3, 2018
d362dc5
Improve documentation of mbedtls_ssl_transform
hanno-arm Jan 3, 2018
52344c2
Correct space needed for MAC in case of NULL cipher
hanno-arm Jan 3, 2018
8031d06
Remove code from `ssl_derive_keys` if relevant modes are not enabled
hanno-arm Jan 3, 2018
d56ed24
Reduce size of `ssl_transform` if no MAC ciphersuite is enabled
hanno-arm Jan 3, 2018
b3268da
Add encryption/decryption tests for small records
hanno-arm Jan 5, 2018
12a3a86
Add structure representing TLS records
hanno-arm Jan 5, 2018
34f88af
Fix definition of SSL_SOME_MODES_USE_MAC
hanno-arm Jul 17, 2018
1c0c37f
Move debugging output after record decryption
hanno-arm Aug 7, 2018
29800d2
Double check that record expansion is as expected during decryption
hanno-arm Aug 7, 2018
0db7e0c
Improve documentation of mbedtls_ssl_transform
hanno-arm Oct 18, 2018
d0fa2d7
Add record encryption/decryption tests for ARIA to SSL test suite
hanno-arm Oct 18, 2018
b2ca87d
Rename ssl_decrypt_buf() to mbedtls_ssl_decrypt_buf() in comment
hanno-arm Oct 18, 2018
81e16a3
Fix memory leak on failure in test_suite_ssl
hanno-arm Mar 1, 2019
907ab20
Alternative between send/recv transform in SSL record test suite
hanno-arm Mar 1, 2019
78f839d
Adapt record length value after encryption
hanno-arm Mar 14, 2019
cd430bc
Improve documentation of mbedtls_record
hanno-arm Apr 4, 2019
3ee5421
Use mbedtls_{calloc|free}() in SSL unit test suite
hanno-arm Apr 4, 2019
a5780f1
Catch errors while building SSL test transforms
hanno-arm Apr 5, 2019
78d1f70
Ensure non-NULL key buffer when building SSL test transforms
hanno-arm Apr 5, 2019
22bf145
Adapt PSA code to ssl_transform changes
hanno-arm Apr 5, 2019
1f10d76
Fix uninitialized variable access in debug output of record enc/dec
hanno-arm Apr 26, 2019
af35383
crypto: Update to Mbed Crypto 461fd58fb2f5
Patater Apr 30, 2019
4e952f6
Regenerate errors.c
Patater Apr 25, 2019
e343505
Merge remote-tracking branch 'origin/pr/2473' into development
Patater May 1, 2019
0804b1d
Merge remote-tracking branch 'origin/pr/2617' into development
Patater May 1, 2019
75d9a33
Merge remote-tracking branch 'origin/pr/1633' into development
Patater May 2, 2019
5d9c963
Add support for RSA PKCSv1.5 signatures using RIPEMD-160
jack-fortanix May 1, 2019
5ed7fff
Add a test of the OID->MD map functions
jack-fortanix May 6, 2019
3ded1c8
Test the return value in the OID->X.509 map functions
jack-fortanix May 6, 2019
b2dc3fa
Suppport otherName of type hardware module name
RonEld Mar 21, 2019
74d9acc
Add support for certificate policies extension
RonEld Mar 21, 2019
226991e
Add ChangeLog entry for new extensions change
RonEld Mar 24, 2019
3c4734a
Add Wisun Fan device certificate
RonEld Mar 25, 2019
5091bec
Fix doxygen for new x509 structures
yanesca May 8, 2019
11b41eb
Fix typos in x509_crt.h
yanesca May 8, 2019
d2dba36
Only use submodule if present
dgreen-arm May 9, 2019
ab23cd1
Remove unneeded checks from x509_get_other_name
yanesca May 9, 2019
22f605f
Print unparseable SubjectAlternativeNames
yanesca May 10, 2019
2f0ec1e
Tidy up style in x509_info_subject_alt_name
yanesca May 10, 2019
6c379b4
Propogate error when parsing SubjectAltNames
yanesca May 10, 2019
293c3da
Remove redundant memset()
yanesca May 10, 2019
26cfd13
Rephrase changeLog entries
RonEld May 13, 2019
78c3040
Rephrase x509_crt extension member description
RonEld May 13, 2019
0806379
Add length checking in certificate policy parsing
RonEld May 13, 2019
890819a
Change mbedtls_x509_subject_alternative_name
RonEld May 13, 2019
f05f594
change the type of hardware_module_name member
RonEld May 13, 2019
cc45cd1
Update SAN parsing documentation
RonEld May 15, 2019
8b0c3c9
Fail in case critical crt policy not supported
RonEld May 15, 2019
e699270
Add a single exit point in key derivation function
RonEld May 7, 2019
a9f9a73
Zeroize secret data in the exit point
RonEld May 7, 2019
3b35085
Have the temporary buffer allocated dynamically
RonEld May 7, 2019
f5cc10d
Add an extra key export function
RonEld May 7, 2019
c4d3ef4
Add ChangeLog entry
RonEld May 7, 2019
b7fd64c
Add eap-tls key derivation in the examples.
RonEld May 12, 2019
51d3ab5
Add public API for tls_prf
RonEld May 12, 2019
824ad7b
Add tests for the public tls_prf API
RonEld May 13, 2019
cf28009
Add function to retrieve the tls_prf type
RonEld May 14, 2019
f75e252
Add test for export keys functionality
RonEld May 14, 2019
780d815
Add changeLog entry
RonEld May 14, 2019
aa947f1
Fix ChangeLog entry location
RonEld May 15, 2019
0810f0b
Fix typo
RonEld May 15, 2019
d2f25f7
Fix missing tls version test failures
RonEld May 15, 2019
2e06a9f
Fix ChangeLog entry
RonEld May 15, 2019
c8b5f3f
Documentation fixes
RonEld May 15, 2019
dbbd966
Check that SAN is not malformed when parsing
RonEld May 15, 2019
6b9b1b8
Initialize psa_crypto in ssl test
RonEld May 15, 2019
801faf0
Fix mingw CI failures
RonEld May 15, 2019
51c4507
Remove unneeded whitespaces
RonEld May 15, 2019
e269537
Add ChangeLog entry about listing all SAN
RonEld May 16, 2019
a291391
Fix minor issues
RonEld May 16, 2019
11818f2
Add some negative test cases
RonEld May 16, 2019
8a59d6b
Update test data
RonEld May 19, 2019
76a9c4a
Fix test data
RonEld May 20, 2019
6aeae9e
Style fix
RonEld May 20, 2019
642cc82
Merge remote-tracking branch 'origin/pr/2465' into development
Patater May 14, 2019
6a042fe
Merge remote-tracking branch 'origin/pr/2636' into development
Patater May 14, 2019
fc4596f
Merge remote-tracking branch 'origin/pr/2624' into development
Patater May 16, 2019
9ebcf9b
Merge remote-tracking branch 'origin/pr/2538' into development
Patater May 20, 2019
31d1432
Merge remote-tracking branch 'origin/pr/2530' into development
Patater May 20, 2019
3d07ffa
Merge remote-tracking branch 'tls/development' into development
Patater May 21, 2019
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Fix CMake build error on Cygwin and minGW platforms

Signed-off-by: Qixiang Xu <qixiang.xu@arm.com>
  • Loading branch information...
geesun authored and Patater committed Feb 21, 2019
commit 7346b312e12a54d77608fc6bb8aa3c55cf046d90
@@ -88,8 +88,14 @@ set(CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}
# to the corresponding path in the source directory.
function(link_to_source base_name)
# Get OS dependent path to use in `execute_process`
file(TO_NATIVE_PATH "${CMAKE_CURRENT_BINARY_DIR}/${base_name}" link)
file(TO_NATIVE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/${base_name}" target)
if (CMAKE_HOST_WIN32)
#mklink is an internal command of cmd.exe it can only work with \
string(REPLACE "/" "\\" link "${CMAKE_CURRENT_BINARY_DIR}/${base_name}")
string(REPLACE "/" "\\" target "${CMAKE_CURRENT_SOURCE_DIR}/${base_name}")
else()
set(link "${CMAKE_CURRENT_BINARY_DIR}/${base_name}")
set(target "${CMAKE_CURRENT_SOURCE_DIR}/${base_name}")
endif()

if (NOT EXISTS ${link})
if (CMAKE_HOST_UNIX)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.