Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/tls/
H A Dtls_main.c240 if (ctx->tx_conf == TLS_HW) in tls_write_space()
285 } else if (ctx->tx_conf == TLS_HW) { in tls_sk_proto_cleanup()
293 } else if (ctx->rx_conf == TLS_HW) { in tls_sk_proto_cleanup()
310 free_ctx = ctx->tx_conf != TLS_HW && ctx->rx_conf != TLS_HW; in tls_sk_proto_close()
325 if (ctx->rx_conf == TLS_SW || ctx->rx_conf == TLS_HW) in tls_sk_proto_close()
546 conf = TLS_HW; in do_tls_setsockopt_conf()
560 conf = TLS_HW; in do_tls_setsockopt_conf()
655 ops[TLS_HW ][TLS_BASE] = ops[TLS_BASE][TLS_BASE]; in build_proto_ops()
656 ops[TLS_HW ][TLS_BASE].sendpage_locked = NULL; in build_proto_ops()
658 ops[TLS_HW ][TLS_SW ] = ops[TLS_BASE][TLS_SW ]; 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()
H A Dtls_sw.c1558 if (tls_ctx->rx_conf == TLS_HW) { in decrypt_skb_update()
/OK3568_Linux_fs/kernel/include/net/
H A Dtls.h91 TLS_HW, enumerator
459 case TLS_HW: in tls_user_config()
741 return tls_get_ctx(sk)->rx_conf == TLS_HW; in tls_is_sk_rx_device_offloaded()
/OK3568_Linux_fs/kernel/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,