Lines Matching refs:sw_ctx_rx
2213 struct tls_sw_context_rx *sw_ctx_rx = NULL; in tls_set_sw_offload() local
2242 sw_ctx_rx = kzalloc(sizeof(*sw_ctx_rx), GFP_KERNEL); in tls_set_sw_offload()
2243 if (!sw_ctx_rx) { in tls_set_sw_offload()
2247 ctx->priv_ctx_rx = sw_ctx_rx; in tls_set_sw_offload()
2249 sw_ctx_rx = in tls_set_sw_offload()
2263 crypto_init_wait(&sw_ctx_rx->async_wait); in tls_set_sw_offload()
2266 skb_queue_head_init(&sw_ctx_rx->rx_list); in tls_set_sw_offload()
2267 aead = &sw_ctx_rx->aead_recv; in tls_set_sw_offload()
2386 if (sw_ctx_rx) { in tls_set_sw_offload()
2387 tfm = crypto_aead_tfm(sw_ctx_rx->aead_recv); in tls_set_sw_offload()
2390 sw_ctx_rx->async_capable = false; in tls_set_sw_offload()
2392 sw_ctx_rx->async_capable = in tls_set_sw_offload()
2400 strp_init(&sw_ctx_rx->strp, sk, &cb); in tls_set_sw_offload()