Lines Matching refs:tls_context

82 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);
120 void tls_sw_write_space(struct sock *sk, struct tls_context *ctx);
121 void tls_device_write_space(struct sock *sk, struct tls_context *ctx);
171 int tls_set_device_offload(struct sock *sk, struct tls_context *ctx);
173 int tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx);
176 int tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx);
182 tls_set_device_offload(struct sock *sk, struct tls_context *ctx) in tls_set_device_offload()
190 tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx) in tls_set_device_offload_rx()
200 tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx) in tls_device_decrypted()
206 int tls_push_sg(struct sock *sk, struct tls_context *ctx,
209 int tls_push_partial_record(struct sock *sk, struct tls_context *ctx,
211 void tls_free_partial_record(struct sock *sk, struct tls_context *ctx);
213 static inline bool tls_is_partially_sent_record(struct tls_context *ctx) in tls_is_partially_sent_record()
218 static inline bool tls_is_pending_open_record(struct tls_context *tls_ctx) in tls_is_pending_open_record()
274 tls_fill_prepend(struct tls_context *ctx, char *buf, size_t plaintext_len, in tls_fill_prepend()