200-reduce_config.patch 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. --- a/include/polarssl/config.h
  2. +++ b/include/polarssl/config.h
  3. @@ -370,8 +370,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. @@ -392,8 +392,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. @@ -416,8 +416,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. @@ -436,8 +436,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. @@ -461,8 +461,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. @@ -540,8 +540,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. @@ -564,8 +564,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. @@ -588,8 +588,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. @@ -612,8 +612,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. @@ -775,8 +775,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. @@ -1078,8 +1078,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. @@ -1395,8 +1395,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. @@ -1423,8 +1423,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. @@ -1463,8 +1463,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. @@ -1519,8 +1519,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. @@ -1534,8 +1534,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. @@ -1547,8 +1547,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. @@ -1587,8 +1587,8 @@
  157. *
  158. * This module enables the AES-GCM and CAMELLIA-GCM ciphersuites, if other
  159. * requisites are enabled as well.
  160. - */
  161. #define POLARSSL_GCM_C
  162. + */
  163. /**
  164. * \def POLARSSL_HAVEGE_C
  165. @@ -1624,8 +1624,8 @@
  166. * Requires: POLARSSL_MD_C
  167. *
  168. * Uncomment to enable the HMAC_DRBG random number geerator.
  169. - */
  170. #define POLARSSL_HMAC_DRBG_C
  171. + */
  172. /**
  173. * \def POLARSSL_MD_C
  174. @@ -1746,8 +1746,8 @@
  175. * Requires: POLARSSL_HAVE_ASM
  176. *
  177. * This modules adds support for the VIA PadLock on x86.
  178. - */
  179. #define POLARSSL_PADLOCK_C
  180. + */
  181. /**
  182. * \def POLARSSL_PBKDF2_C
  183. @@ -1907,8 +1907,8 @@
  184. * Module: library/ripemd160.c
  185. * Caller: library/md.c
  186. *
  187. - */
  188. #define POLARSSL_RIPEMD160_C
  189. + */
  190. /**
  191. * \def POLARSSL_RSA_C
  192. @@ -1987,8 +1987,8 @@
  193. * Caller:
  194. *
  195. * Requires: POLARSSL_SSL_CACHE_C
  196. - */
  197. #define POLARSSL_SSL_CACHE_C
  198. + */
  199. /**
  200. * \def POLARSSL_SSL_CLI_C
  201. @@ -2064,8 +2064,8 @@
  202. * Caller: library/havege.c
  203. *
  204. * This module is used by the HAVEGE random number generator.
  205. - */
  206. #define POLARSSL_TIMING_C
  207. + */
  208. /**
  209. * \def POLARSSL_VERSION_C
  210. @@ -2075,8 +2075,8 @@
  211. * Module: library/version.c
  212. *
  213. * This module provides run-time version information.
  214. - */
  215. #define POLARSSL_VERSION_C
  216. + */
  217. /**
  218. * \def POLARSSL_X509_USE_C
  219. @@ -2185,8 +2185,8 @@
  220. *
  221. * Module: library/xtea.c
  222. * Caller:
  223. - */
  224. #define POLARSSL_XTEA_C
  225. + */
  226. /* \} name SECTION: mbed TLS modules */