Lines Matching refs:tls_context
179 struct tls_context { struct
239 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx);
255 int tls_set_device_offload(struct sock *sk, struct tls_context *ctx);
276 void tls_sk_destruct(struct sock *sk, struct tls_context *ctx);
277 int tls_push_sg(struct sock *sk, struct tls_context *ctx,
280 int tls_push_pending_closed_record(struct sock *sk, struct tls_context *ctx,
283 static inline bool tls_is_pending_closed_record(struct tls_context *ctx) in tls_is_pending_closed_record()
289 struct tls_context *ctx, in tls_complete_pending_work()
303 static inline bool tls_is_partially_sent_record(struct tls_context *ctx) in tls_is_partially_sent_record()
308 static inline bool tls_is_pending_open_record(struct tls_context *tls_ctx) in tls_is_pending_open_record()
356 static inline void tls_fill_prepend(struct tls_context *ctx, in tls_fill_prepend()
393 static inline struct tls_context *tls_get_ctx(const struct sock *sk) in tls_get_ctx()
401 const struct tls_context *tls_ctx) in tls_sw_ctx_rx()
407 const struct tls_context *tls_ctx) in tls_sw_ctx_tx()
413 tls_offload_ctx_tx(const struct tls_context *tls_ctx) in tls_offload_ctx_tx()
419 tls_offload_ctx_rx(const struct tls_context *tls_ctx) in tls_offload_ctx_rx()
427 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request()
450 int tls_set_device_offload_rx(struct sock *sk, struct tls_context *ctx);