[mbedtls] configure max entropy sources to 1 to save RAM (#2441)

- Reduces the number of maximum entropy sources from 20 to 1 to save RAM.
- Explicitly add platform-specific entropy source.
This commit is contained in:
Jonathan Hui
2018-01-04 17:01:30 +00:00
committed by GitHub
parent 5ed108d9cf
commit 9f49148e7e
12 changed files with 43 additions and 70 deletions
-1
View File
@@ -54,7 +54,6 @@
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\third_party\mbedtls\hardware_entropy.c" />
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\aes.c" />
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\bignum.c" />
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\ccm.c" />
@@ -13,9 +13,6 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\third_party\mbedtls\hardware_entropy.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\aes.c">
<Filter>Source Files\repo.patched\library</Filter>
</ClCompile>
-1
View File
@@ -57,7 +57,6 @@
</ClCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\third_party\mbedtls\hardware_entropy.c" />
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\aes.c" />
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\bignum.c" />
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\ccm.c" />
@@ -13,9 +13,6 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\third_party\mbedtls\hardware_entropy.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\third_party\mbedtls\repo.patched\library\aes.c">
<Filter>Source Files\repo.patched\library</Filter>
</ClCompile>