Home
last modified time | relevance | path

Searched refs:TLS_HW (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/tls/
H A Dtls_main.c241 if (ctx->tx_conf == TLS_HW) in tls_write_space()
286 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
294 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
311 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
326 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
548 conf = TLS_HW; in do_tls_setsockopt_conf()
562 conf = TLS_HW; in do_tls_setsockopt_conf()
665 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
666 ops[TLS_HW ][TLS_BAS in build_proto_ops()
[all...]
H A Dtls_device.c58 if (ctx->tx_conf == TLS_HW) { in tls_device_free_ctx()
64 if (ctx->rx_conf == TLS_HW) in tls_device_free_ctx()
83 if (netdev && ctx->tx_conf == TLS_HW) { in tls_device_gc_task()
192 if (tls_ctx->tx_conf == TLS_HW) { in tls_device_sk_destruct()
765 if (tls_ctx->rx_conf != TLS_HW) in tls_device_rx_resync_new_rec()
1278 if (tls_ctx->tx_conf != TLS_HW) { in tls_device_offload_cleanup_rx()
1329 if (ctx->tx_conf == TLS_HW) in tls_device_down()
1332 if (ctx->rx_conf == TLS_HW && in tls_device_down()
1349 * by tls_device_free_ctx. rx_conf and tx_conf stay in TLS_HW. in tls_device_down()
H A Dtls_sw.c1560 if (tls_ctx->rx_conf == TLS_HW) { in decrypt_skb_update()
/kernel/linux/linux-6.6/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()
[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()
1375 * by tls_device_free_ctx. rx_conf and tx_conf stay in TLS_HW. in tls_device_down()
H A Dtls_sw.c1682 if (tls_ctx->rx_conf != TLS_HW) in tls_decrypt_device()
/kernel/linux/linux-6.6/include/net/
H A Dtls.h82 TLS_HW, enumerator
174 * still TLS_HW (needed for transition).
498 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/kernel/linux/linux-5.10/include/net/
H A Dtls.h90 TLS_HW, enumerator
198 * still TLS_HW (needed for transition).
445 case TLS_HW: in tls_user_config()
727 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()

Completed in 15 milliseconds