Lines Matching refs:tls_ctx

360 void tls_sw_strparser_done(struct tls_context *tls_ctx);
366 void tls_sw_cancel_work_tx(struct tls_context *tls_ctx);
368 void tls_sw_free_ctx_tx(struct tls_context *tls_ctx);
371 void tls_sw_free_ctx_rx(struct tls_context *tls_ctx);
414 static inline bool tls_is_pending_open_record(struct tls_context *tls_ctx) in tls_is_pending_open_record() argument
416 return tls_ctx->pending_open_record_frags; in tls_is_pending_open_record()
579 const struct tls_context *tls_ctx) in tls_sw_ctx_rx() argument
581 return (struct tls_sw_context_rx *)tls_ctx->priv_ctx_rx; in tls_sw_ctx_rx()
585 const struct tls_context *tls_ctx) in tls_sw_ctx_tx() argument
587 return (struct tls_sw_context_tx *)tls_ctx->priv_ctx_tx; in tls_sw_ctx_tx()
591 tls_offload_ctx_tx(const struct tls_context *tls_ctx) in tls_offload_ctx_tx() argument
593 return (struct tls_offload_context_tx *)tls_ctx->priv_ctx_tx; in tls_offload_ctx_tx()
618 tls_offload_ctx_rx(const struct tls_context *tls_ctx) in tls_offload_ctx_rx() argument
620 return (struct tls_offload_context_rx *)tls_ctx->priv_ctx_rx; in tls_offload_ctx_rx()
624 static inline void *__tls_driver_ctx(struct tls_context *tls_ctx, in __tls_driver_ctx() argument
628 return tls_offload_ctx_tx(tls_ctx)->driver_state; in __tls_driver_ctx()
630 return tls_offload_ctx_rx(tls_ctx)->driver_state; in __tls_driver_ctx()
645 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_request() local
646 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_request()
655 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_start() local
656 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_start()
667 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_async_request_end() local
668 struct tls_offload_context_rx *rx_ctx = tls_offload_ctx_rx(tls_ctx); in tls_offload_rx_resync_async_request_end()
677 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_rx_resync_set_type() local
679 tls_offload_ctx_rx(tls_ctx)->resync_type = type; in tls_offload_rx_resync_set_type()
685 struct tls_context *tls_ctx = tls_get_ctx(sk); in tls_offload_tx_resync_pending() local
688 ret = test_bit(TLS_TX_SYNC_SCHED, &tls_ctx->flags); in tls_offload_tx_resync_pending()
716 int tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx,
749 tls_device_decrypted(struct sock *sk, struct tls_context *tls_ctx, in tls_device_decrypted() argument