Kconfig 879 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # TLS configuration
  4. #
  5. config TLS
  6. tristate "Transport Layer Security support"
  7. depends on INET
  8. select CRYPTO
  9. select CRYPTO_AES
  10. select CRYPTO_GCM
  11. select STREAM_PARSER
  12. select NET_SOCK_MSG
  13. default n
  14. help
  15. Enable kernel support for TLS protocol. This allows symmetric
  16. encryption handling of the TLS protocol to be done in-kernel.
  17. If unsure, say N.
  18. config TLS_DEVICE
  19. bool "Transport Layer Security HW offload"
  20. depends on TLS
  21. select SOCK_VALIDATE_XMIT
  22. select SOCK_RX_QUEUE_MAPPING
  23. default n
  24. help
  25. Enable kernel support for HW offload of the TLS protocol.
  26. If unsure, say N.
  27. config TLS_TOE
  28. bool "Transport Layer Security TCP stack bypass"
  29. depends on TLS
  30. default n
  31. help
  32. Enable kernel support for legacy HW offload of the TLS protocol,
  33. which is incompatible with the Linux networking stack semantics.
  34. If unsure, say N.