Home
last modified time | relevance | path

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

/linux/net/tls/
H A Dtls_main.c308 if (ctx->tx_conf == TLS_HW) in tls_write_space()
351 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
359 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
376 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
391 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
531 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in do_tls_getsockopt_no_pad()
715 conf = TLS_HW; in do_tls_setsockopt_conf()
735 conf = TLS_HW; in do_tls_setsockopt_conf()
827 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) { in do_tls_setsockopt_no_pad()
956 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
[all …]
H A Dtls_device.c60 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()
204 if (tls_ctx->tx_conf == TLS_HW) { in tls_device_sk_destruct()
781 if (tls_ctx->rx_conf != TLS_HW) in tls_device_rx_resync_new_rec()
1282 if (tls_ctx->tx_conf != TLS_HW) { in tls_device_offload_cleanup_rx()
1337 if (ctx->tx_conf == TLS_HW) in tls_device_down()
1340 if (ctx->rx_conf == TLS_HW && in tls_device_down()
H A Dtls_sw.c1730 if (tls_ctx->rx_conf != TLS_HW) in tls_decrypt_device()
/linux/include/net/
H A Dtls.h87 TLS_HW, enumerator
509 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()