Home
last modified time | relevance | path

Searched refs:tls_context (Results 1 – 18 of 18) sorted by relevance

/linux-6.1.9/net/tls/
Dtls.h82 struct tls_context *tls_ctx_create(struct sock *sk);
83 void tls_ctx_free(struct sock *sk, struct tls_context *ctx);
84 void update_sk_prot(struct sock *sk, struct tls_context *ctx);
93 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx);
94 void tls_update_rx_zc_capable(struct tls_context *tls_ctx);
95 void tls_sw_strparser_arm(struct sock *sk, struct tls_context *ctx);
96 void tls_sw_strparser_done(struct tls_context *tls_ctx);
102 void tls_sw_cancel_work_tx(struct tls_context *tls_ctx);
104 void tls_sw_free_ctx_tx(struct tls_context *tls_ctx);
107 void tls_sw_free_ctx_rx(struct tls_context *tls_ctx);
[all …]
Dtls_main.c87 void update_sk_prot(struct sock *sk, struct tls_context *ctx) in update_sk_prot()
122 struct tls_context *ctx, in tls_push_sg()
178 struct tls_context *ctx = tls_get_ctx(sk); in tls_handle_open_record()
221 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx, in tls_push_partial_record()
234 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx) in tls_free_partial_record()
247 struct tls_context *ctx = tls_get_ctx(sk); in tls_write_space()
276 void tls_ctx_free(struct sock *sk, struct tls_context *ctx) in tls_ctx_free()
292 struct tls_context *ctx, long timeo) in tls_sk_proto_cleanup()
321 struct tls_context *ctx = tls_get_ctx(sk); in tls_sk_proto_close()
358 struct tls_context *ctx = tls_get_ctx(sk); in do_tls_getsockopt_conf()
[all …]
Dtls_toe.c49 struct tls_context *ctx = tls_get_ctx(sk); in tls_toe_sk_destruct()
60 struct tls_context *ctx; in tls_toe_bypass()
86 struct tls_context *ctx = tls_get_ctx(sk); in tls_toe_unhash()
105 struct tls_context *ctx = tls_get_ctx(sk); in tls_toe_hash()
Dtls_device.c55 static void tls_device_free_ctx(struct tls_context *ctx) in tls_device_free_ctx()
73 struct tls_context *ctx = offload_ctx->ctx; in tls_device_tx_del_task()
88 static void tls_device_queue_ctx_destruction(struct tls_context *ctx) in tls_device_queue_ctx_destruction()
162 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_icsk_clean_acked()
197 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_sk_destruct()
216 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_device_free_resources_tx()
223 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_request()
230 static void tls_device_resync_tx(struct sock *sk, struct tls_context *tls_ctx, in tls_device_resync_tx()
283 struct tls_context *ctx, in tls_push_record()
317 struct tls_context *ctx, in tls_device_record_close()
[all …]
Dtls_sw.c186 struct tls_context *tls_ctx; in tls_decrypt_done()
229 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_do_decryption()
265 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_trim_both_msgs()
278 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_alloc_encrypted_msg()
288 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_clone_plaintext_msg()
312 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_get_rec()
351 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_free_open_rec()
363 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_tx_records()
424 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_encrypt_done()
482 struct tls_context *tls_ctx, in tls_do_encryption()
[all …]
Dtls_device_fallback.c305 struct tls_context *tls_ctx, in fill_sg_out()
322 static struct sk_buff *tls_enc_skb(struct tls_context *tls_ctx, in tls_enc_skb()
398 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_sw_fallback()
/linux-6.1.9/include/net/
Dtls.h175 struct tls_context *ctx;
235 struct tls_context { struct
292 struct tls_context *ctx, argument
381 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx()
392 const struct tls_context *tls_ctx) in tls_sw_ctx_rx()
398 const struct tls_context *tls_ctx) in tls_sw_ctx_tx()
404 tls_offload_ctx_tx(const struct tls_context *tls_ctx) in tls_offload_ctx_tx()
411 struct tls_context *ctx = tls_get_ctx(sk); in tls_sw_has_ctx_tx()
420 struct tls_context *ctx = tls_get_ctx(sk); in tls_sw_has_ctx_rx()
428 tls_offload_ctx_rx(const struct tls_context *tls_ctx) in tls_offload_ctx_rx()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_utils.h24 void mlx5e_ktls_del_tx(struct net_device *netdev, struct tls_context *tls_ctx);
27 void mlx5e_ktls_del_rx(struct net_device *netdev, struct tls_context *tls_ctx);
Dktls_tx.c105 mlx5e_set_ktls_tx_priv_ctx(struct tls_context *tls_ctx, in mlx5e_set_ktls_tx_priv_ctx()
117 mlx5e_get_ktls_tx_priv_ctx(struct tls_context *tls_ctx) in mlx5e_get_ktls_tx_priv_ctx()
471 struct tls_context *tls_ctx; in mlx5e_ktls_add_tx()
516 void mlx5e_ktls_del_tx(struct net_device *netdev, struct tls_context *tls_ctx) in mlx5e_ktls_del_tx()
841 struct tls_context *tls_ctx; in mlx5e_ktls_handle_tx_skb()
Dktls_rx.c228 mlx5e_set_ktls_rx_priv_ctx(struct tls_context *tls_ctx, in mlx5e_set_ktls_rx_priv_ctx()
240 mlx5e_get_ktls_rx_priv_ctx(struct tls_context *tls_ctx) in mlx5e_get_ktls_rx_priv_ctx()
612 struct tls_context *tls_ctx; in mlx5e_ktls_add_rx()
682 void mlx5e_ktls_del_rx(struct net_device *netdev, struct tls_context *tls_ctx) in mlx5e_ktls_del_rx()
Dktls.c69 struct tls_context *tls_ctx, in mlx5e_ktls_del()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
Dchcr_ktls.h83 chcr_get_ktls_tx_context(struct tls_context *tls_ctx) in chcr_get_ktls_tx_context()
Dchcr_ktls.c361 struct tls_context *tls_ctx, in chcr_ktls_dev_del()
418 struct tls_context *tls_ctx = tls_get_ctx(sk); in chcr_ktls_dev_add()
653 struct tls_context *tls_ctx; in chcr_ktls_cpl_act_open_rpl()
1936 struct tls_context *tls_ctx; in chcr_ktls_xmit()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_ktls.c72 struct tls_context *tls_ctx, in fun_ktls_del()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c481 struct tls_context *ctx = tls_get_ctx(sk); in chtls_getsockopt()
572 struct tls_context *ctx = tls_get_ctx(sk); in chtls_setsockopt()
Dchtls_cm.c1118 struct tls_context *ctx; in chtls_recv_sock()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/crypto/
Dtls.c410 nfp_net_tls_del(struct net_device *netdev, struct tls_context *tls_ctx, in nfp_net_tls_del()
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_main.c6468 struct tls_context *tls_ctx, in cxgb4_ktls_dev_del()