Config.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. if PACKAGE_libmbedtls
  2. comment "Option details in source code: include/mbedtls/mbedtls_config.h"
  3. comment "Ciphers - unselect old or less-used ciphers to reduce binary size"
  4. config MBEDTLS_AES_C
  5. bool "MBEDTLS_AES_C"
  6. default y
  7. config MBEDTLS_CAMELLIA_C
  8. bool "MBEDTLS_CAMELLIA_C"
  9. default n
  10. config MBEDTLS_CCM_C
  11. bool "MBEDTLS_CCM_C"
  12. default n
  13. config MBEDTLS_CMAC_C
  14. bool "MBEDTLS_CMAC_C (old but used by hostapd)"
  15. default y
  16. config MBEDTLS_DES_C
  17. bool "MBEDTLS_DES_C (old but used by hostapd)"
  18. default y
  19. config MBEDTLS_GCM_C
  20. bool "MBEDTLS_GCM_C"
  21. default y
  22. config MBEDTLS_NIST_KW_C
  23. bool "MBEDTLS_NIST_KW_C (old but used by hostapd)"
  24. default y
  25. config MBEDTLS_RIPEMD160_C
  26. bool "MBEDTLS_RIPEMD160_C"
  27. default n
  28. config MBEDTLS_XTEA_C
  29. bool "MBEDTLS_XTEA_C"
  30. default n
  31. config MBEDTLS_RSA_NO_CRT
  32. bool "MBEDTLS_RSA_NO_CRT"
  33. default y
  34. config MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
  35. bool "MBEDTLS_KEY_EXCHANGE_PSK_ENABLED"
  36. default y
  37. config MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
  38. bool "MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED"
  39. default n
  40. config MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
  41. bool "MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED"
  42. default y
  43. config MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
  44. bool "MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED"
  45. default n
  46. config MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
  47. bool "MBEDTLS_KEY_EXCHANGE_RSA_ENABLED"
  48. default n
  49. config MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED
  50. bool "MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED"
  51. default n
  52. config MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED
  53. bool "MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED"
  54. default y
  55. config MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
  56. bool "MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED"
  57. default y
  58. config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
  59. bool "MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED"
  60. default n
  61. config MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
  62. bool "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED"
  63. default n
  64. comment "Curves - unselect old or less-used curves to reduce binary size"
  65. config MBEDTLS_ECP_DP_SECP192R1_ENABLED
  66. bool "MBEDTLS_ECP_DP_SECP192R1_ENABLED"
  67. default n
  68. config MBEDTLS_ECP_DP_SECP224R1_ENABLED
  69. bool "MBEDTLS_ECP_DP_SECP224R1_ENABLED"
  70. default n
  71. config MBEDTLS_ECP_DP_SECP256R1_ENABLED
  72. bool "MBEDTLS_ECP_DP_SECP256R1_ENABLED"
  73. default y
  74. config MBEDTLS_ECP_DP_SECP384R1_ENABLED
  75. bool "MBEDTLS_ECP_DP_SECP384R1_ENABLED"
  76. default y
  77. config MBEDTLS_ECP_DP_SECP521R1_ENABLED
  78. bool "MBEDTLS_ECP_DP_SECP521R1_ENABLED"
  79. default y
  80. config MBEDTLS_ECP_DP_SECP192K1_ENABLED
  81. bool "MBEDTLS_ECP_DP_SECP192K1_ENABLED"
  82. default n
  83. config MBEDTLS_ECP_DP_SECP224K1_ENABLED
  84. bool "MBEDTLS_ECP_DP_SECP224K1_ENABLED"
  85. default n
  86. config MBEDTLS_ECP_DP_SECP256K1_ENABLED
  87. bool "MBEDTLS_ECP_DP_SECP256K1_ENABLED"
  88. default y
  89. config MBEDTLS_ECP_DP_BP256R1_ENABLED
  90. bool "MBEDTLS_ECP_DP_BP256R1_ENABLED"
  91. default n
  92. config MBEDTLS_ECP_DP_BP384R1_ENABLED
  93. bool "MBEDTLS_ECP_DP_BP384R1_ENABLED"
  94. default n
  95. config MBEDTLS_ECP_DP_BP512R1_ENABLED
  96. bool "MBEDTLS_ECP_DP_BP512R1_ENABLED"
  97. default n
  98. config MBEDTLS_ECP_DP_CURVE25519_ENABLED
  99. bool "MBEDTLS_ECP_DP_CURVE25519_ENABLED"
  100. default y
  101. config MBEDTLS_ECP_DP_CURVE448_ENABLED
  102. bool "MBEDTLS_ECP_DP_CURVE448_ENABLED"
  103. default n
  104. comment "Build Options - unselect features to reduce binary size"
  105. config MBEDTLS_CERTS_C
  106. bool "MBEDTLS_CERTS_C"
  107. default n
  108. config MBEDTLS_CIPHER_MODE_OFB
  109. bool "MBEDTLS_CIPHER_MODE_OFB"
  110. default n
  111. config MBEDTLS_CIPHER_MODE_XTS
  112. bool "MBEDTLS_CIPHER_MODE_XTS"
  113. default n
  114. config MBEDTLS_DEBUG_C
  115. bool "MBEDTLS_DEBUG_C"
  116. default n
  117. config MBEDTLS_HKDF_C
  118. bool "MBEDTLS_HKDF_C"
  119. default n
  120. config MBEDTLS_PLATFORM_C
  121. bool "MBEDTLS_PLATFORM_C"
  122. default n
  123. config MBEDTLS_SELF_TEST
  124. bool "MBEDTLS_SELF_TEST"
  125. default n
  126. config MBEDTLS_SSL_TRUNCATED_HMAC
  127. bool "MBEDTLS_SSL_TRUNCATED_HMAC"
  128. default n
  129. config MBEDTLS_VERSION_C
  130. bool "MBEDTLS_VERSION_C"
  131. default n
  132. config MBEDTLS_VERSION_FEATURES
  133. bool "MBEDTLS_VERSION_FEATURES"
  134. default n
  135. comment "Build Options"
  136. config MBEDTLS_ENTROPY_FORCE_SHA256
  137. bool "MBEDTLS_ENTROPY_FORCE_SHA256"
  138. default y
  139. config MBEDTLS_SSL_RENEGOTIATION
  140. bool "MBEDTLS_SSL_RENEGOTIATION"
  141. default n
  142. endif