| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | # | 
|  | 2 | # TLS configuration | 
|  | 3 | # | 
|  | 4 | config TLS | 
|  | 5 | tristate "Transport Layer Security support" | 
|  | 6 | depends on INET | 
|  | 7 | select CRYPTO | 
|  | 8 | select CRYPTO_AES | 
|  | 9 | select CRYPTO_GCM | 
|  | 10 | select STREAM_PARSER | 
|  | 11 | default n | 
|  | 12 | ---help--- | 
|  | 13 | Enable kernel support for TLS protocol. This allows symmetric | 
|  | 14 | encryption handling of the TLS protocol to be done in-kernel. | 
|  | 15 |  | 
|  | 16 | If unsure, say N. | 
|  | 17 |  | 
|  | 18 | config TLS_DEVICE | 
|  | 19 | bool "Transport Layer Security HW offload" | 
|  | 20 | depends on TLS | 
|  | 21 | select SOCK_VALIDATE_XMIT | 
|  | 22 | default n | 
|  | 23 | help | 
|  | 24 | Enable kernel support for HW offload of the TLS protocol. | 
|  | 25 |  | 
|  | 26 | If unsure, say N. |