Config.in 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. if PACKAGE_libwolfssl
  2. config WOLFSSL_HAS_AES_CCM
  3. bool "Include AES-CCM support"
  4. default y
  5. config WOLFSSL_HAS_AES_GCM
  6. bool "Include AES-GCM support"
  7. default y
  8. config WOLFSSL_HAS_CHACHA_POLY
  9. bool "Include ChaCha20-Poly1305 cipher suite support"
  10. default y
  11. config WOLFSSL_HAS_DH
  12. bool "Include DH (Diffie-Hellman) support"
  13. default y
  14. config WOLFSSL_HAS_ARC4
  15. bool "Include ARC4 support"
  16. default y
  17. config WOLFSSL_HAS_TLSV10
  18. bool "Include TLS 1.0 support"
  19. default y
  20. if !(WOLFSSL_HAS_AES_CCM||WOLFSSL_HAS_AES_GCM||WOLFSSL_HAS_CHACHA_POLY)
  21. comment "! TLS 1.3 support needs one of: AES-CCM, AES-GCM, ChaCha20-Poly1305"
  22. endif
  23. config WOLFSSL_HAS_TLSV13
  24. bool "Include TLS 1.3 support"
  25. depends on WOLFSSL_HAS_AES_CCM||WOLFSSL_HAS_AES_GCM||WOLFSSL_HAS_CHACHA_POLY
  26. default y
  27. config WOLFSSL_HAS_SESSION_TICKET
  28. bool "Include session ticket support"
  29. default y
  30. config WOLFSSL_HAS_DTLS
  31. bool "Include DTLS support"
  32. default n
  33. config WOLFSSL_HAS_OCSP
  34. bool "Include OSCP stapling support"
  35. default y
  36. config WOLFSSL_HAS_WPAS
  37. bool "Include wpa_supplicant support"
  38. select WOLFSSL_HAS_ARC4
  39. select WOLFSSL_HAS_OCSP
  40. select WOLFSSL_HAS_SESSION_TICKET
  41. default y
  42. config WOLFSSL_HAS_ECC25519
  43. bool "Include ECC Curve 22519 support"
  44. default n
  45. if WOLFSSL_HAS_AES_CCM
  46. comment "! Hardware Acceleration does not build with AES-CCM enabled"
  47. endif
  48. if !WOLFSSL_HAS_AES_CCM
  49. choice
  50. prompt "Hardware Acceleration"
  51. default WOLFSSL_HAS_NO_HW
  52. config WOLFSSL_HAS_NO_HW
  53. bool "None"
  54. config WOLFSSL_HAS_AFALG
  55. bool "AF_ALG"
  56. config WOLFSSL_HAS_DEVCRYPTO_AES
  57. bool "/dev/crypto - AES-only"
  58. config WOLFSSL_HAS_DEVCRYPTO_FULL
  59. bool "/dev/crypto - full"
  60. endchoice
  61. endif
  62. endif