Home
last modified time | relevance | path

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

/Linux-v4.19/net/tls/
Dtls_sw.c1149 struct tls_sw_context_tx *sw_ctx_tx = NULL; in tls_set_sw_offload() local
1165 sw_ctx_tx = kzalloc(sizeof(*sw_ctx_tx), GFP_KERNEL); in tls_set_sw_offload()
1166 if (!sw_ctx_tx) { in tls_set_sw_offload()
1170 ctx->priv_ctx_tx = sw_ctx_tx; in tls_set_sw_offload()
1172 sw_ctx_tx = in tls_set_sw_offload()
1190 crypto_init_wait(&sw_ctx_tx->async_wait); in tls_set_sw_offload()
1193 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
1244 if (sw_ctx_tx) { in tls_set_sw_offload()
1245 sg_init_table(sw_ctx_tx->sg_encrypted_data, in tls_set_sw_offload()
1246 ARRAY_SIZE(sw_ctx_tx->sg_encrypted_data)); in tls_set_sw_offload()
[all …]