Commit Graph

3947 Commits

Author SHA1 Message Date
Simon Butcher
a150050555 Merge branch 'development' of ssh://github.com/ARMmbed/mbedtls into development
Conflicts:
	yotta/data/example-authcrypt/README.md
	yotta/data/example-benchmark/README.md
	yotta/data/example-hashing/README.md
	yotta/data/example-selftest/README.md
	yotta/data/example-tls-client/README.md
2015-08-19 20:29:31 +01:00
Simon Butcher
df81924a7a Fixed issues in Yotta examples README's
Fixed README's in Yotta examples and updated certificate reference in
TLS Client.
2015-08-19 19:33:27 +01:00
Manuel Pégourié-Gonnard
38db006e0c Finish test in pkwrite 2015-08-19 10:24:34 +02:00
Manuel Pégourié-Gonnard
e50f67c18a Fix debug mode in example-tls-client
Fixes #242
2015-08-18 20:52:18 +02:00
Manuel Pégourié-Gonnard
1a18aaecde Update output of example-tls-client in its readme 2015-08-18 20:38:22 +02:00
Manuel Pégourié-Gonnard
0819e6f50c Merge remote-tracking branch 'tmp/readme-fix' into development
* tmp/readme-fix:
  Removing yt ls step in READMEs of examples
2015-08-18 20:29:06 +02:00
Manuel Pégourié-Gonnard
e578b1c79a Relax timing_self_test for windows idiosyncrasies 2015-08-18 20:11:48 +02:00
Brian Daniels
3c405aefc5 Removing yt ls step in READMEs of examples 2015-08-18 10:52:57 -07:00
Manuel Pégourié-Gonnard
04b7eec539 Fix pkwrite test that were failing on mingw32
Apparently fread() writes some junk after the contents of the file. Don't look
at it.
2015-08-18 19:49:40 +02:00
Manuel Pégourié-Gonnard
bd6d0aba25 Fix usage of minar in example-tls-client
Also sync with mbed-example-network's helloworld-tcpclient while at it.
2015-08-18 18:18:16 +02:00
Manuel Pégourié-Gonnard
ee4cb7d5aa Remove warning about needing future yotta version
The future is now ;)
2015-08-17 14:42:02 +02:00
Manuel Pégourié-Gonnard
493f065818 Cosmetics in create-module.sh 2015-08-17 14:23:43 +02:00
Manuel Pégourié-Gonnard
42618b870a Use more reliable host in example-tls-client
Apparently TLS on mbed.org is broken again
2015-08-17 14:19:38 +02:00
Manuel Pégourié-Gonnard
708b6eeca1 Ifx typos in readme 2015-08-13 16:06:12 +02:00
Manuel Pégourié-Gonnard
5f9245dce9 Fix broken links (s/tree/blob/) 2015-08-13 16:03:12 +02:00
Manuel Pégourié-Gonnard
721f711333 Use development for repo links
Avoids broken links while the targets are not yet in master
2015-08-13 15:56:25 +02:00
Manuel Pégourié-Gonnard
addd52fdde Add description for the yotta module 2015-08-12 11:37:30 +02:00
Manuel Pégourié-Gonnard
46c4fa16ab Fix missing casts on return
closes #236
2015-08-12 09:27:55 +02:00
Manuel Pégourié-Gonnard
950715659d Update sockets dependency version (yotta/mbed) 2015-08-11 16:00:36 +02:00
Manuel Pégourié-Gonnard
e2b0efe24b Separate license from comments in config.h 2015-08-11 10:38:37 +02:00
Manuel Pégourié-Gonnard
47943aee91 Bump yotta patch version 2015-08-11 10:10:26 +02:00
Manuel Pégourié-Gonnard
c98204e68f Fix missing break in switch for SSL presets
closes #235
2015-08-11 04:21:01 +02:00
Manuel Pégourié-Gonnard
e87b04caed Upgrade to latest mbed-drivers version 2015-08-11 04:09:44 +02:00
Manuel Pégourié-Gonnard
91bbfb6fb7 Make timing selftest less sensitive
- allow up to 12.5% security/error margin
- use larger delays
- this avoid the security/error margin being too low

The test used to fail about 1 out of 6 times on some buildbots VMs, but never
failed on the physical machines used for development.
2015-08-10 14:33:12 +02:00
Manuel Pégourié-Gonnard
4b7027a8da Avoid race condition in test
Apparently openssl s_server does not flush stdout, anyway sometimes the client
receives the reply and exits, thus terminating the test, before is request is
visible on the server's stdout. So, just don't check that, checking the
client's output and exit code is already enough.
2015-08-10 13:18:48 +02:00
Manuel Pégourié-Gonnard
ac50fc5e2f Fix typo in doc 2015-08-10 13:07:09 +02:00
Manuel Pégourié-Gonnard
854dab96fe Fix the fix for armcc5 --gnu
Only exclude armcc5, not armcc6.
2015-08-10 12:11:31 +02:00
Manuel Pégourié-Gonnard
ed46c436c0 Fix error when loading libmbedtls.so 2015-08-10 10:17:32 +02:00
Manuel Pégourié-Gonnard
8356fc212d Fix mbed OS TLS client example 2015-08-07 14:35:12 +02:00
Manuel Pégourié-Gonnard
e33316c607 Add test build of shared libs for windows 2015-08-07 13:22:37 +02:00
Manuel Pégourié-Gonnard
111ce9f735 Fix build error with shared libraries for windows 2015-08-07 12:07:16 +02:00
Manuel Pégourié-Gonnard
8018c28600 Add -static-libgcc for Windows dll builds 2015-08-07 11:55:56 +02:00
Manuel Pégourié-Gonnard
620ee19823 Fix return of x509_self_test without SHA-1
No being able to run the test is not a failure
2015-08-07 10:57:47 +02:00
Manuel Pégourié-Gonnard
d1004f02e6 Fix printed output of some selftests 2015-08-07 10:57:41 +02:00
Manuel Pégourié-Gonnard
cdee2d9148 Fix license header in files in yotta/data 2015-08-07 09:40:51 +02:00
Manuel Pégourié-Gonnard
fa1304a51d Use Unix line endings in wince_main.c too
The compiler needs to accept Unix line endings anyway, as this is what we use
everywhere, and it makes things more consistent.
2015-08-06 19:03:31 +02:00
Manuel Pégourié-Gonnard
d73896581b Fix typos (found by Francesco Pompò)
Manually merging as the pull requests are based on an old branch.

closes #215
closes #216
2015-08-06 18:22:26 +02:00
Manuel Pégourié-Gonnard
bd5bbec715 Use consistent baud rate across examples 2015-08-06 18:10:17 +02:00
Manuel Pégourié-Gonnard
278098f4f4 Merge pull request #233 from ARMmbed/yotta-scripted
Yotta scripted
2015-08-06 18:04:34 +02:00
Manuel Pégourié-Gonnard
48573f8337 Fix renaming error in script 2015-08-06 17:25:33 +02:00
Manuel Pégourié-Gonnard
8119dad588 Make sure all .h files have license information
Even if they don't need it: this simplifies future audits.
2015-08-06 10:59:26 +02:00
Manuel Pégourié-Gonnard
ecebc9c06e Bump yotta module version 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
ae5398a0cf Update version of mbed-net-socket 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
0adc7f7b0f No FS_IO in the yotta module 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
32da9f66a8 Add support for MBEDTLS_USER_CONFIG_FILE 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
43569a93cc Use #ifdef rather than patch for target_config.h 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
c5e0372056 Rm SHA-1 from the yotta configuration 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
94f160a5a6 Document yotta in top-level README 2015-08-06 09:57:54 +02:00
Manuel Pégourié-Gonnard
77d56bb6c2 Add yotta test builds to all.sh 2015-08-06 09:57:53 +02:00
Manuel Pégourié-Gonnard
63e7ebaaa1 Add material for generating yotta module 2015-08-06 09:57:53 +02:00