Home
last modified time | relevance | path

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

/Linux-v5.10/net/tls/
Dtls_main.c238 if (ctx->tx_conf == TLS_HW) in tls_write_space()
283 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
291 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
308 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
323 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
544 conf = TLS_HW; in do_tls_setsockopt_conf()
558 conf = TLS_HW; in do_tls_setsockopt_conf()
689 prot[TLS_HW][TLS_BASE] = prot[TLS_BASE][TLS_BASE]; in build_protos()
690 prot[TLS_HW][TLS_BASE].sendmsg = tls_device_sendmsg; in build_protos()
691 prot[TLS_HW][TLS_BASE].sendpage = tls_device_sendpage; in build_protos()
[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()
82 if (netdev && ctx->tx_conf == TLS_HW) { in tls_device_gc_task()
188 if (tls_ctx->tx_conf == TLS_HW) { in tls_device_sk_destruct()
762 if (tls_ctx->rx_conf != TLS_HW) in tls_device_rx_resync_new_rec()
1262 if (tls_ctx->tx_conf != TLS_HW) { in tls_device_offload_cleanup_rx()
1293 if (ctx->tx_conf == TLS_HW) in tls_device_down()
1296 if (ctx->rx_conf == TLS_HW && in tls_device_down()
Dtls_sw.c1548 if (tls_ctx->rx_conf == TLS_HW) { in decrypt_skb_update()
/Linux-v5.10/include/net/
Dtls.h90 TLS_HW, enumerator
439 case TLS_HW: in tls_user_config()
724 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/Linux-v5.10/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,