Lines Matching refs:tls_context
138 struct tls_context *tls_ctx_create(struct sock *sk);
139 void tls_ctx_free(struct sock *sk, struct tls_context *ctx);
140 void update_sk_prot(struct sock *sk, struct tls_context *ctx);
145 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx);
146 void tls_update_rx_zc_capable(struct tls_context *tls_ctx);
147 void tls_sw_strparser_arm(struct sock *sk, struct tls_context *ctx);
148 void tls_sw_strparser_done(struct tls_context *tls_ctx);
151 void tls_sw_cancel_work_tx(struct tls_context *tls_ctx);
153 void tls_sw_free_ctx_tx(struct tls_context *tls_ctx);
156 void tls_sw_free_ctx_rx(struct tls_context *tls_ctx);
170 void tls_sw_write_space(struct sock *sk, struct tls_context *ctx);
171 void tls_device_write_space(struct sock *sk, struct tls_context *ctx);
226 int tls_set_device_offload(struct sock *sk, struct tls_context *ctx);
228 int tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx);
231 int tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx);
237 tls_set_device_offload(struct sock *sk, struct tls_context *ctx) in tls_set_device_offload()
245 tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx) in tls_set_device_offload_rx()
255 tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx) in tls_device_decrypted()
261 int tls_push_sg(struct sock *sk, struct tls_context *ctx,
264 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx,
266 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx);
268 static inline bool tls_is_partially_sent_record(struct tls_context *ctx) in tls_is_partially_sent_record()
273 static inline bool tls_is_pending_open_record(struct tls_context *tls_ctx) in tls_is_pending_open_record()
329 tls_fill_prepend(struct tls_context *ctx, char *buf, size_t plaintext_len, in tls_fill_prepend()