200-reduce_config.patch 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. --- a/include/polarssl/config.h
  2. +++ b/include/polarssl/config.h
  3. @@ -432,8 +432,8 @@
  4. * Requires: POLARSSL_HMAC_DRBG_C
  5. *
  6. * Comment this macro to disable deterministic ECDSA.
  7. - */
  8. #define POLARSSL_ECDSA_DETERMINISTIC
  9. + */
  10. /**
  11. * \def POLARSSL_KEY_EXCHANGE_PSK_ENABLED
  12. @@ -454,8 +454,8 @@
  13. * TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
  14. * TLS_PSK_WITH_3DES_EDE_CBC_SHA
  15. * TLS_PSK_WITH_RC4_128_SHA
  16. - */
  17. #define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
  18. + */
  19. /**
  20. * \def POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED
  21. @@ -478,8 +478,8 @@
  22. * TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
  23. * TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA
  24. * TLS_DHE_PSK_WITH_RC4_128_SHA
  25. - */
  26. #define POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED
  27. + */
  28. /**
  29. * \def POLARSSL_KEY_EXCHANGE_ECDHE_PSK_ENABLED
  30. @@ -498,8 +498,8 @@
  31. * TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
  32. * TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA
  33. * TLS_ECDHE_PSK_WITH_RC4_128_SHA
  34. - */
  35. #define POLARSSL_KEY_EXCHANGE_ECDHE_PSK_ENABLED
  36. + */
  37. /**
  38. * \def POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED
  39. @@ -523,8 +523,8 @@
  40. * TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256
  41. * TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA
  42. * TLS_RSA_PSK_WITH_RC4_128_SHA
  43. - */
  44. #define POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED
  45. + */
  46. /**
  47. * \def POLARSSL_KEY_EXCHANGE_RSA_ENABLED
  48. @@ -602,8 +602,8 @@
  49. * TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256
  50. * TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
  51. * TLS_ECDHE_RSA_WITH_RC4_128_SHA
  52. - */
  53. #define POLARSSL_KEY_EXCHANGE_ECDHE_RSA_ENABLED
  54. + */
  55. /**
  56. * \def POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
  57. @@ -626,8 +626,8 @@
  58. * TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256
  59. * TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
  60. * TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
  61. - */
  62. #define POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
  63. + */
  64. /**
  65. * \def POLARSSL_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
  66. @@ -650,8 +650,8 @@
  67. * TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384
  68. * TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256
  69. * TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384
  70. - */
  71. #define POLARSSL_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
  72. + */
  73. /**
  74. * \def POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
  75. @@ -674,8 +674,8 @@
  76. * TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384
  77. * TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256
  78. * TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384
  79. - */
  80. #define POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
  81. + */
  82. /**
  83. * \def POLARSSL_PK_PARSE_EC_EXTENDED
  84. @@ -835,8 +835,8 @@
  85. * \def POLARSSL_SELF_TEST
  86. *
  87. * Enable the checkup functions (*_self_test).
  88. - */
  89. #define POLARSSL_SELF_TEST
  90. + */
  91. /**
  92. * \def POLARSSL_SSL_AEAD_RANDOM_IV
  93. @@ -1151,8 +1151,8 @@
  94. * Requires: POLARSSL_VERSION_C
  95. *
  96. * Comment this to disable run-time checking and save ROM space
  97. - */
  98. #define POLARSSL_VERSION_FEATURES
  99. + */
  100. /**
  101. * \def POLARSSL_X509_ALLOW_EXTENSIONS_NON_V3
  102. @@ -1470,8 +1470,8 @@
  103. * TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384
  104. * TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256
  105. * TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
  106. - */
  107. #define POLARSSL_CAMELLIA_C
  108. + */
  109. /**
  110. * \def POLARSSL_CCM_C
  111. @@ -1498,8 +1498,8 @@
  112. * Requires: POLARSSL_PEM_PARSE_C
  113. *
  114. * This module is used for testing (ssl_client/server).
  115. - */
  116. #define POLARSSL_CERTS_C
  117. + */
  118. /**
  119. * \def POLARSSL_CIPHER_C
  120. @@ -1538,8 +1538,8 @@
  121. * library/ssl_tls.c
  122. *
  123. * This module provides debugging functions.
  124. - */
  125. #define POLARSSL_DEBUG_C
  126. + */
  127. /**
  128. * \def POLARSSL_DES_C
  129. @@ -1594,8 +1594,8 @@
  130. * ECDHE-ECDSA, ECDHE-RSA, DHE-PSK
  131. *
  132. * Requires: POLARSSL_ECP_C
  133. - */
  134. #define POLARSSL_ECDH_C
  135. + */
  136. /**
  137. * \def POLARSSL_ECDSA_C
  138. @@ -1609,8 +1609,8 @@
  139. * ECDHE-ECDSA
  140. *
  141. * Requires: POLARSSL_ECP_C, POLARSSL_ASN1_WRITE_C, POLARSSL_ASN1_PARSE_C
  142. - */
  143. #define POLARSSL_ECDSA_C
  144. + */
  145. /**
  146. * \def POLARSSL_ECP_C
  147. @@ -1622,8 +1622,8 @@
  148. * library/ecdsa.c
  149. *
  150. * Requires: POLARSSL_BIGNUM_C and at least one POLARSSL_ECP_DP_XXX_ENABLED
  151. - */
  152. #define POLARSSL_ECP_C
  153. + */
  154. /**
  155. * \def POLARSSL_ENTROPY_C
  156. @@ -1699,8 +1699,8 @@
  157. * Requires: POLARSSL_MD_C
  158. *
  159. * Uncomment to enable the HMAC_DRBG random number geerator.
  160. - */
  161. #define POLARSSL_HMAC_DRBG_C
  162. + */
  163. /**
  164. * \def POLARSSL_MD_C
  165. @@ -1826,8 +1826,8 @@
  166. * Requires: POLARSSL_HAVE_ASM
  167. *
  168. * This modules adds support for the VIA PadLock on x86.
  169. - */
  170. #define POLARSSL_PADLOCK_C
  171. + */
  172. /**
  173. * \def POLARSSL_PBKDF2_C
  174. @@ -1992,8 +1992,8 @@
  175. * Module: library/ripemd160.c
  176. * Caller: library/md.c
  177. *
  178. - */
  179. #define POLARSSL_RIPEMD160_C
  180. + */
  181. /**
  182. * \def POLARSSL_RSA_C
  183. @@ -2072,8 +2072,8 @@
  184. * Caller:
  185. *
  186. * Requires: POLARSSL_SSL_CACHE_C
  187. - */
  188. #define POLARSSL_SSL_CACHE_C
  189. + */
  190. /**
  191. * \def POLARSSL_SSL_CLI_C
  192. @@ -2149,8 +2149,8 @@
  193. * Caller: library/havege.c
  194. *
  195. * This module is used by the HAVEGE random number generator.
  196. - */
  197. #define POLARSSL_TIMING_C
  198. + */
  199. /**
  200. * \def POLARSSL_VERSION_C
  201. @@ -2160,8 +2160,8 @@
  202. * Module: library/version.c
  203. *
  204. * This module provides run-time version information.
  205. - */
  206. #define POLARSSL_VERSION_C
  207. + */
  208. /**
  209. * \def POLARSSL_X509_USE_C
  210. @@ -2270,8 +2270,8 @@
  211. *
  212. * Module: library/xtea.c
  213. * Caller:
  214. - */
  215. #define POLARSSL_XTEA_C
  216. + */
  217. /* \} name SECTION: mbed TLS modules */