Config.in 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. if PACKAGE_libwolfssl
  2. config WOLFSSL_HAS_AES_CCM
  3. bool "Include AES-CCM support"
  4. default y
  5. config WOLFSSL_HAS_CHACHA_POLY
  6. bool "Include ChaCha20-Poly1305 cipher suite support"
  7. default y
  8. config WOLFSSL_HAS_DH
  9. bool "Include DH (Diffie-Hellman) support"
  10. default y
  11. config WOLFSSL_HAS_ARC4
  12. bool "Include ARC4 support"
  13. default y
  14. config WOLFSSL_HAS_CERTGEN
  15. bool "Include certificate generation support"
  16. default y
  17. config WOLFSSL_HAS_TLSV10
  18. bool "Include TLS 1.0 support"
  19. default y
  20. config WOLFSSL_HAS_TLSV13
  21. bool "Include TLS 1.3 support"
  22. default y
  23. config WOLFSSL_HAS_SESSION_TICKET
  24. bool "Include session ticket support"
  25. default y
  26. config WOLFSSL_HAS_DTLS
  27. bool "Include DTLS support"
  28. default n
  29. config WOLFSSL_HAS_OCSP
  30. bool "Include OSCP stapling support"
  31. default y
  32. config WOLFSSL_HAS_WPAS
  33. bool "Include wpa_supplicant support"
  34. select WOLFSSL_HAS_ARC4
  35. select WOLFSSL_HAS_DH
  36. select WOLFSSL_HAS_OCSP
  37. select WOLFSSL_HAS_SESSION_TICKET
  38. default y
  39. config WOLFSSL_HAS_ECC25519
  40. bool "Include ECC Curve 25519 support"
  41. default y
  42. config WOLFSSL_HAS_ECC448
  43. bool "Include ECC Curve 448 support"
  44. config WOLFSSL_HAS_OPENVPN
  45. bool "Include OpenVPN support"
  46. default y
  47. config WOLFSSL_ALT_NAMES
  48. bool "Include SAN (Subject Alternative Name) support"
  49. default y
  50. config WOLFSSL_HAS_DEVCRYPTO
  51. bool
  52. config WOLFSSL_ASM_CAPABLE
  53. bool
  54. default x86_64 || (aarch64 && !TARGET_bcm27xx)
  55. choice
  56. prompt "Hardware Acceleration"
  57. default WOLFSSL_HAS_CPU_CRYPTO if WOLFSSL_ASM_CAPABLE && !x86_64
  58. default WOLFSSL_HAS_NO_HW
  59. config WOLFSSL_HAS_NO_HW
  60. bool "None"
  61. config WOLFSSL_HAS_CPU_CRYPTO
  62. bool "Use CPU crypto instructions"
  63. depends on WOLFSSL_ASM_CAPABLE
  64. help
  65. This will use Intel AESNI insturctions or armv8 Crypto Extensions.
  66. Either of them should easily outperform hardware crypto in WolfSSL.
  67. Beware that for Intel, the CPU has to support SSE4 instructions.
  68. config WOLFSSL_HAS_AFALG
  69. bool "AF_ALG"
  70. config WOLFSSL_HAS_DEVCRYPTO_CBC
  71. bool "/dev/crytpo - AES-CBC-only"
  72. select WOLFSSL_HAS_DEVCRYPTO
  73. config WOLFSSL_HAS_DEVCRYPTO_AES
  74. bool "/dev/crypto - AES-only (all supported modes)"
  75. select WOLFSSL_HAS_DEVCRYPTO
  76. config WOLFSSL_HAS_DEVCRYPTO_FULL
  77. bool "/dev/crypto - full"
  78. select WOLFSSL_HAS_DEVCRYPTO
  79. endchoice
  80. if x86_64 && WOLFSSL_HAS_CPU_CRYPTO
  81. comment "WARNING: make sure your CPU supports SSE4 instructions"
  82. comment "WolfSSL may crash with an invalid opcode exception"
  83. endif
  84. endif