mbed TLS upgraded to 2.6.0

Fork of mbedtls by Mark Radbourne

Committer:
Jasper Wallace
Date:
Fri Sep 29 18:41:59 2017 +0100
Revision:
1:9ebc941037d5
Update to mbedtls 2.4.2, security fixes

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

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jasper Wallace 1:9ebc941037d5 1 <?xml version="1.0" encoding="utf-8"?>
Jasper Wallace 1:9ebc941037d5 2 <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Jasper Wallace 1:9ebc941037d5 3 <ItemGroup Label="ProjectConfigurations">
Jasper Wallace 1:9ebc941037d5 4 <ProjectConfiguration Include="Debug|Win32">
Jasper Wallace 1:9ebc941037d5 5 <Configuration>Debug</Configuration>
Jasper Wallace 1:9ebc941037d5 6 <Platform>Win32</Platform>
Jasper Wallace 1:9ebc941037d5 7 </ProjectConfiguration>
Jasper Wallace 1:9ebc941037d5 8 <ProjectConfiguration Include="Debug|x64">
Jasper Wallace 1:9ebc941037d5 9 <Configuration>Debug</Configuration>
Jasper Wallace 1:9ebc941037d5 10 <Platform>x64</Platform>
Jasper Wallace 1:9ebc941037d5 11 </ProjectConfiguration>
Jasper Wallace 1:9ebc941037d5 12 <ProjectConfiguration Include="Release|Win32">
Jasper Wallace 1:9ebc941037d5 13 <Configuration>Release</Configuration>
Jasper Wallace 1:9ebc941037d5 14 <Platform>Win32</Platform>
Jasper Wallace 1:9ebc941037d5 15 </ProjectConfiguration>
Jasper Wallace 1:9ebc941037d5 16 <ProjectConfiguration Include="Release|x64">
Jasper Wallace 1:9ebc941037d5 17 <Configuration>Release</Configuration>
Jasper Wallace 1:9ebc941037d5 18 <Platform>x64</Platform>
Jasper Wallace 1:9ebc941037d5 19 </ProjectConfiguration>
Jasper Wallace 1:9ebc941037d5 20 </ItemGroup>
Jasper Wallace 1:9ebc941037d5 21 <ItemGroup>
Jasper Wallace 1:9ebc941037d5 22 <ClCompile Include="..\..\programs\<PATHNAME>.c" />
Jasper Wallace 1:9ebc941037d5 23 </ItemGroup>
Jasper Wallace 1:9ebc941037d5 24 <ItemGroup>
Jasper Wallace 1:9ebc941037d5 25 <ProjectReference Include="mbedTLS.vcxproj">
Jasper Wallace 1:9ebc941037d5 26 <Project>{46cf2d25-6a36-4189-b59c-e4815388e554}</Project>
Jasper Wallace 1:9ebc941037d5 27 </ProjectReference>
Jasper Wallace 1:9ebc941037d5 28 </ItemGroup>
Jasper Wallace 1:9ebc941037d5 29 <PropertyGroup Label="Globals">
Jasper Wallace 1:9ebc941037d5 30 <ProjectGuid><GUID></ProjectGuid>
Jasper Wallace 1:9ebc941037d5 31 <Keyword>Win32Proj</Keyword>
Jasper Wallace 1:9ebc941037d5 32 <RootNamespace><APPNAME></RootNamespace>
Jasper Wallace 1:9ebc941037d5 33 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 34 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Jasper Wallace 1:9ebc941037d5 35 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Jasper Wallace 1:9ebc941037d5 36 <ConfigurationType>Application</ConfigurationType>
Jasper Wallace 1:9ebc941037d5 37 <UseDebugLibraries>true</UseDebugLibraries>
Jasper Wallace 1:9ebc941037d5 38 <CharacterSet>Unicode</CharacterSet>
Jasper Wallace 1:9ebc941037d5 39 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 40 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
Jasper Wallace 1:9ebc941037d5 41 <ConfigurationType>Application</ConfigurationType>
Jasper Wallace 1:9ebc941037d5 42 <UseDebugLibraries>true</UseDebugLibraries>
Jasper Wallace 1:9ebc941037d5 43 <CharacterSet>Unicode</CharacterSet>
Jasper Wallace 1:9ebc941037d5 44 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 45 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
Jasper Wallace 1:9ebc941037d5 46 <ConfigurationType>Application</ConfigurationType>
Jasper Wallace 1:9ebc941037d5 47 <UseDebugLibraries>false</UseDebugLibraries>
Jasper Wallace 1:9ebc941037d5 48 <WholeProgramOptimization>true</WholeProgramOptimization>
Jasper Wallace 1:9ebc941037d5 49 <CharacterSet>Unicode</CharacterSet>
Jasper Wallace 1:9ebc941037d5 50 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 51 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
Jasper Wallace 1:9ebc941037d5 52 <ConfigurationType>Application</ConfigurationType>
Jasper Wallace 1:9ebc941037d5 53 <UseDebugLibraries>false</UseDebugLibraries>
Jasper Wallace 1:9ebc941037d5 54 <WholeProgramOptimization>true</WholeProgramOptimization>
Jasper Wallace 1:9ebc941037d5 55 <CharacterSet>Unicode</CharacterSet>
Jasper Wallace 1:9ebc941037d5 56 <PlatformToolset>Windows7.1SDK</PlatformToolset>
Jasper Wallace 1:9ebc941037d5 57 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 58 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
Jasper Wallace 1:9ebc941037d5 59 <ImportGroup Label="ExtensionSettings">
Jasper Wallace 1:9ebc941037d5 60 </ImportGroup>
Jasper Wallace 1:9ebc941037d5 61 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Jasper Wallace 1:9ebc941037d5 62 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Jasper Wallace 1:9ebc941037d5 63 </ImportGroup>
Jasper Wallace 1:9ebc941037d5 64 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
Jasper Wallace 1:9ebc941037d5 65 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Jasper Wallace 1:9ebc941037d5 66 </ImportGroup>
Jasper Wallace 1:9ebc941037d5 67 <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Jasper Wallace 1:9ebc941037d5 68 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Jasper Wallace 1:9ebc941037d5 69 </ImportGroup>
Jasper Wallace 1:9ebc941037d5 70 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
Jasper Wallace 1:9ebc941037d5 71 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
Jasper Wallace 1:9ebc941037d5 72 </ImportGroup>
Jasper Wallace 1:9ebc941037d5 73 <PropertyGroup Label="UserMacros" />
Jasper Wallace 1:9ebc941037d5 74 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Jasper Wallace 1:9ebc941037d5 75 <LinkIncremental>true</LinkIncremental>
Jasper Wallace 1:9ebc941037d5 76 <IntDir>$(Configuration)\$(TargetName)\</IntDir>
Jasper Wallace 1:9ebc941037d5 77 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 78 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Jasper Wallace 1:9ebc941037d5 79 <LinkIncremental>true</LinkIncremental>
Jasper Wallace 1:9ebc941037d5 80 <IntDir>$(Configuration)\$(TargetName)\</IntDir>
Jasper Wallace 1:9ebc941037d5 81 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 82 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Jasper Wallace 1:9ebc941037d5 83 <LinkIncremental>false</LinkIncremental>
Jasper Wallace 1:9ebc941037d5 84 <IntDir>$(Configuration)\$(TargetName)\</IntDir>
Jasper Wallace 1:9ebc941037d5 85 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 86 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Jasper Wallace 1:9ebc941037d5 87 <LinkIncremental>false</LinkIncremental>
Jasper Wallace 1:9ebc941037d5 88 <IntDir>$(Configuration)\$(TargetName)\</IntDir>
Jasper Wallace 1:9ebc941037d5 89 </PropertyGroup>
Jasper Wallace 1:9ebc941037d5 90 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
Jasper Wallace 1:9ebc941037d5 91 <ClCompile>
Jasper Wallace 1:9ebc941037d5 92 <PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 93 </PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 94 <WarningLevel>Level3</WarningLevel>
Jasper Wallace 1:9ebc941037d5 95 <Optimization>Disabled</Optimization>
Jasper Wallace 1:9ebc941037d5 96 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Jasper Wallace 1:9ebc941037d5 97 <AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
Jasper Wallace 1:9ebc941037d5 98 </ClCompile>
Jasper Wallace 1:9ebc941037d5 99 <Link>
Jasper Wallace 1:9ebc941037d5 100 <SubSystem>Console</SubSystem>
Jasper Wallace 1:9ebc941037d5 101 <GenerateDebugInformation>true</GenerateDebugInformation>
Jasper Wallace 1:9ebc941037d5 102 <ShowProgress>NotSet</ShowProgress>
Jasper Wallace 1:9ebc941037d5 103 <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);mbedTLS.lib</AdditionalDependencies>
Jasper Wallace 1:9ebc941037d5 104 <AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
Jasper Wallace 1:9ebc941037d5 105 </Link>
Jasper Wallace 1:9ebc941037d5 106 <ProjectReference>
Jasper Wallace 1:9ebc941037d5 107 <LinkLibraryDependencies>false</LinkLibraryDependencies>
Jasper Wallace 1:9ebc941037d5 108 </ProjectReference>
Jasper Wallace 1:9ebc941037d5 109 </ItemDefinitionGroup>
Jasper Wallace 1:9ebc941037d5 110 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
Jasper Wallace 1:9ebc941037d5 111 <ClCompile>
Jasper Wallace 1:9ebc941037d5 112 <PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 113 </PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 114 <WarningLevel>Level3</WarningLevel>
Jasper Wallace 1:9ebc941037d5 115 <Optimization>Disabled</Optimization>
Jasper Wallace 1:9ebc941037d5 116 <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Jasper Wallace 1:9ebc941037d5 117 <AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
Jasper Wallace 1:9ebc941037d5 118 </ClCompile>
Jasper Wallace 1:9ebc941037d5 119 <Link>
Jasper Wallace 1:9ebc941037d5 120 <SubSystem>Console</SubSystem>
Jasper Wallace 1:9ebc941037d5 121 <GenerateDebugInformation>true</GenerateDebugInformation>
Jasper Wallace 1:9ebc941037d5 122 <ShowProgress>NotSet</ShowProgress>
Jasper Wallace 1:9ebc941037d5 123 <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);mbedTLS.lib</AdditionalDependencies>
Jasper Wallace 1:9ebc941037d5 124 <AdditionalLibraryDirectories>Debug</AdditionalLibraryDirectories>
Jasper Wallace 1:9ebc941037d5 125 </Link>
Jasper Wallace 1:9ebc941037d5 126 <ProjectReference>
Jasper Wallace 1:9ebc941037d5 127 <LinkLibraryDependencies>false</LinkLibraryDependencies>
Jasper Wallace 1:9ebc941037d5 128 </ProjectReference>
Jasper Wallace 1:9ebc941037d5 129 </ItemDefinitionGroup>
Jasper Wallace 1:9ebc941037d5 130 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Jasper Wallace 1:9ebc941037d5 131 <ClCompile>
Jasper Wallace 1:9ebc941037d5 132 <WarningLevel>Level3</WarningLevel>
Jasper Wallace 1:9ebc941037d5 133 <PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 134 </PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 135 <Optimization>MaxSpeed</Optimization>
Jasper Wallace 1:9ebc941037d5 136 <FunctionLevelLinking>true</FunctionLevelLinking>
Jasper Wallace 1:9ebc941037d5 137 <IntrinsicFunctions>true</IntrinsicFunctions>
Jasper Wallace 1:9ebc941037d5 138 <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Jasper Wallace 1:9ebc941037d5 139 <AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
Jasper Wallace 1:9ebc941037d5 140 </ClCompile>
Jasper Wallace 1:9ebc941037d5 141 <Link>
Jasper Wallace 1:9ebc941037d5 142 <SubSystem>Console</SubSystem>
Jasper Wallace 1:9ebc941037d5 143 <GenerateDebugInformation>true</GenerateDebugInformation>
Jasper Wallace 1:9ebc941037d5 144 <EnableCOMDATFolding>true</EnableCOMDATFolding>
Jasper Wallace 1:9ebc941037d5 145 <OptimizeReferences>true</OptimizeReferences>
Jasper Wallace 1:9ebc941037d5 146 <AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
Jasper Wallace 1:9ebc941037d5 147 <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);mbedTLS.lib</AdditionalDependencies>
Jasper Wallace 1:9ebc941037d5 148 </Link>
Jasper Wallace 1:9ebc941037d5 149 </ItemDefinitionGroup>
Jasper Wallace 1:9ebc941037d5 150 <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Jasper Wallace 1:9ebc941037d5 151 <ClCompile>
Jasper Wallace 1:9ebc941037d5 152 <WarningLevel>Level3</WarningLevel>
Jasper Wallace 1:9ebc941037d5 153 <PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 154 </PrecompiledHeader>
Jasper Wallace 1:9ebc941037d5 155 <Optimization>MaxSpeed</Optimization>
Jasper Wallace 1:9ebc941037d5 156 <FunctionLevelLinking>true</FunctionLevelLinking>
Jasper Wallace 1:9ebc941037d5 157 <IntrinsicFunctions>true</IntrinsicFunctions>
Jasper Wallace 1:9ebc941037d5 158 <PreprocessorDefinitions>WIN64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Jasper Wallace 1:9ebc941037d5 159 <AdditionalIncludeDirectories>../../include</AdditionalIncludeDirectories>
Jasper Wallace 1:9ebc941037d5 160 </ClCompile>
Jasper Wallace 1:9ebc941037d5 161 <Link>
Jasper Wallace 1:9ebc941037d5 162 <SubSystem>Console</SubSystem>
Jasper Wallace 1:9ebc941037d5 163 <GenerateDebugInformation>true</GenerateDebugInformation>
Jasper Wallace 1:9ebc941037d5 164 <EnableCOMDATFolding>true</EnableCOMDATFolding>
Jasper Wallace 1:9ebc941037d5 165 <OptimizeReferences>true</OptimizeReferences>
Jasper Wallace 1:9ebc941037d5 166 <AdditionalLibraryDirectories>Release</AdditionalLibraryDirectories>
Jasper Wallace 1:9ebc941037d5 167 <AdditionalDependencies>%(AdditionalDependencies);</AdditionalDependencies>
Jasper Wallace 1:9ebc941037d5 168 </Link>
Jasper Wallace 1:9ebc941037d5 169 </ItemDefinitionGroup>
Jasper Wallace 1:9ebc941037d5 170 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Jasper Wallace 1:9ebc941037d5 171 <ImportGroup Label="ExtensionTargets">
Jasper Wallace 1:9ebc941037d5 172 </ImportGroup>
Jasper Wallace 1:9ebc941037d5 173 </Project>