Lines Matching refs:tls_context

84 struct tls_context *tls_ctx_create(struct sock *sk);
85 void tls_ctx_free(struct sock *sk, struct tls_context *ctx);
86 void update_sk_prot(struct sock *sk, struct tls_context *ctx);
95 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx);
96 void tls_update_rx_zc_capable(struct tls_context *tls_ctx);
97 void tls_sw_strparser_arm(struct sock *sk, struct tls_context *ctx);
98 void tls_sw_strparser_done(struct tls_context *tls_ctx);
104 void tls_sw_cancel_work_tx(struct tls_context *tls_ctx);
106 void tls_sw_free_ctx_tx(struct tls_context *tls_ctx);
109 void tls_sw_free_ctx_rx(struct tls_context *tls_ctx);
122 void tls_sw_write_space(struct sock *sk, struct tls_context *ctx);
123 void tls_device_write_space(struct sock *sk, struct tls_context *ctx);
173 int tls_set_device_offload(struct sock *sk, struct tls_context *ctx);
175 int tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx);
178 int tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx);
184 tls_set_device_offload(struct sock *sk, struct tls_context *ctx) in tls_set_device_offload()
192 tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx) in tls_set_device_offload_rx()
202 tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx) in tls_device_decrypted()
208 int tls_push_sg(struct sock *sk, struct tls_context *ctx,
211 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx,
213 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx);
215 static inline bool tls_is_partially_sent_record(struct tls_context *ctx) in tls_is_partially_sent_record()
220 static inline bool tls_is_pending_open_record(struct tls_context *tls_ctx) in tls_is_pending_open_record()
276 tls_fill_prepend(struct tls_context *ctx, char *buf, size_t plaintext_len, in tls_fill_prepend()