Home
last modified time | relevance | path

Searched refs:sw_ctx_rx (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/net/tls/
Dtls_sw.c1150 struct tls_sw_context_rx *sw_ctx_rx = NULL; in tls_set_sw_offload() local
1177 sw_ctx_rx = kzalloc(sizeof(*sw_ctx_rx), GFP_KERNEL); in tls_set_sw_offload()
1178 if (!sw_ctx_rx) { in tls_set_sw_offload()
1182 ctx->priv_ctx_rx = sw_ctx_rx; in tls_set_sw_offload()
1184 sw_ctx_rx = in tls_set_sw_offload()
1195 crypto_init_wait(&sw_ctx_rx->async_wait); in tls_set_sw_offload()
1198 aead = &sw_ctx_rx->aead_recv; in tls_set_sw_offload()
1284 if (sw_ctx_rx) { in tls_set_sw_offload()
1290 strp_init(&sw_ctx_rx->strp, sk, &cb); in tls_set_sw_offload()
1293 sw_ctx_rx->saved_data_ready = sk->sk_data_ready; in tls_set_sw_offload()
[all …]