mbed TLS upgraded to 2.6.0

Fork of mbedtls by Mark Radbourne

Committer:
Jasper Wallace
Date:
Fri Sep 29 19:50:30 2017 +0100
Revision:
2:bbdeda018a3c
Parent:
1:9ebc941037d5
Update to mbedtls 2.6.0, many changes.

Changes to mbedtls sources made:

in include/mbedtls/config.h comment out:

#define MBEDTLS_FS_IO
#define MBEDTLS_NET_C
#define MBEDTLS_TIMING_C

uncomment:

#define MBEDTLS_NO_PLATFORM_ENTROPY

remove the following directorys:

programs
yotta
visualc

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jasper Wallace 1:9ebc941037d5 1 #!/bin/sh
Jasper Wallace 1:9ebc941037d5 2
Jasper Wallace 1:9ebc941037d5 3 # Generate doxygen documentation with a full config.h (this ensures that every
Jasper Wallace 1:9ebc941037d5 4 # available flag is documented, and avoids warnings about documentation
Jasper Wallace 1:9ebc941037d5 5 # without a corresponding #define).
Jasper Wallace 1:9ebc941037d5 6 #
Jasper Wallace 1:9ebc941037d5 7 # /!\ This must not be a Makefile target, as it would create a race condition
Jasper Wallace 1:9ebc941037d5 8 # when multiple targets are invoked in the same parallel build.
Jasper Wallace 1:9ebc941037d5 9
Jasper Wallace 1:9ebc941037d5 10 set -eu
Jasper Wallace 1:9ebc941037d5 11
Jasper Wallace 1:9ebc941037d5 12 CONFIG_H='include/mbedtls/config.h'
Jasper Wallace 1:9ebc941037d5 13
Jasper Wallace 1:9ebc941037d5 14 if [ -r $CONFIG_H ]; then :; else
Jasper Wallace 1:9ebc941037d5 15 echo "$CONFIG_H not found" >&2
Jasper Wallace 1:9ebc941037d5 16 exit 1
Jasper Wallace 1:9ebc941037d5 17 fi
Jasper Wallace 1:9ebc941037d5 18
Jasper Wallace 1:9ebc941037d5 19 CONFIG_BAK=${CONFIG_H}.bak
Jasper Wallace 1:9ebc941037d5 20 cp -p $CONFIG_H $CONFIG_BAK
Jasper Wallace 1:9ebc941037d5 21
Jasper Wallace 1:9ebc941037d5 22 scripts/config.pl realfull
Jasper Wallace 1:9ebc941037d5 23 make apidoc
Jasper Wallace 1:9ebc941037d5 24
Jasper Wallace 1:9ebc941037d5 25 mv $CONFIG_BAK $CONFIG_H