Home
last modified time | relevance | path

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

/openbmc/linux/net/tls/
H A Dtls_main.c310 if (ctx->tx_conf == TLS_HW) in tls_write_space()
355 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
363 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
380 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
395 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
534 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in do_tls_getsockopt_no_pad()
666 conf = TLS_HW; in do_tls_setsockopt_conf()
680 conf = TLS_HW; in do_tls_setsockopt_conf()
757 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) { in do_tls_setsockopt_no_pad()
850 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
[all …]
H A Dtls_device.c59 if (ctx->tx_conf == TLS_HW) { in tls_device_free_ctx()
65 if (ctx->rx_conf == TLS_HW) in tls_device_free_ctx()
110 async_cleanup = netdev && ctx->tx_conf == TLS_HW; in tls_device_queue_ctx_destruction()
204 if (tls_ctx->tx_conf == TLS_HW) { in tls_device_sk_destruct()
782 if (tls_ctx->rx_conf != TLS_HW) in tls_device_rx_resync_new_rec()
1300 if (tls_ctx->tx_conf != TLS_HW) { in tls_device_offload_cleanup_rx()
1355 if (ctx->tx_conf == TLS_HW) in tls_device_down()
1358 if (ctx->rx_conf == TLS_HW && in tls_device_down()
H A Dtls_sw.c1682 if (tls_ctx->rx_conf != TLS_HW) in tls_decrypt_device()
/openbmc/linux/include/net/
H A Dtls.h82 TLS_HW, enumerator
507 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/openbmc/linux/Documentation/networking/
H A 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,