Home
last modified time | relevance | path

Searched refs:TLS_HW (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/tls/
Dtls_main.c259 if (ctx->tx_conf == TLS_HW) in tls_write_space()
304 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
312 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
329 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
344 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
619 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in do_tls_getsockopt_no_pad()
770 conf = TLS_HW; in do_tls_setsockopt_conf()
784 conf = TLS_HW; in do_tls_setsockopt_conf()
861 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) { in do_tls_setsockopt_no_pad()
942 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
[all …]
Dtls_device.c57 if (ctx->tx_conf == TLS_HW) { in tls_device_free_ctx()
63 if (ctx->rx_conf == TLS_HW) in tls_device_free_ctx()
108 async_cleanup = netdev && ctx->tx_conf == TLS_HW; in tls_device_queue_ctx_destruction()
202 if (tls_ctx->tx_conf == TLS_HW) { in tls_device_sk_destruct()
803 if (tls_ctx->rx_conf != TLS_HW) in tls_device_rx_resync_new_rec()
1341 if (tls_ctx->tx_conf != TLS_HW) { in tls_device_offload_cleanup_rx()
1396 if (ctx->tx_conf == TLS_HW) in tls_device_down()
1399 if (ctx->rx_conf == TLS_HW && in tls_device_down()
Dtls_sw.c1648 if (tls_ctx->rx_conf != TLS_HW) in tls_decrypt_device()
/linux-6.1.9/include/net/
Dtls.h94 TLS_HW, enumerator
512 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/linux-6.1.9/Documentation/networking/
Dtls-offload.rst24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto
46 In ``TLS_HW`` mode the encryption is not performed in the TLS ULP.
199 added to the device table and are in TLS_HW mode. For example,