Home
last modified time | relevance | path

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

/linux-6.1.9/net/tls/
Dtls_sw.c2470 struct tls_sw_context_tx *sw_ctx_tx = NULL; in tls_set_sw_offload() local
2487 sw_ctx_tx = kzalloc(sizeof(*sw_ctx_tx), GFP_KERNEL); in tls_set_sw_offload()
2488 if (!sw_ctx_tx) { in tls_set_sw_offload()
2492 ctx->priv_ctx_tx = sw_ctx_tx; in tls_set_sw_offload()
2494 sw_ctx_tx = in tls_set_sw_offload()
2512 crypto_init_wait(&sw_ctx_tx->async_wait); in tls_set_sw_offload()
2513 spin_lock_init(&sw_ctx_tx->encrypt_compl_lock); in tls_set_sw_offload()
2516 aead = &sw_ctx_tx->aead_send; in tls_set_sw_offload()
2517 INIT_LIST_HEAD(&sw_ctx_tx->tx_list); in tls_set_sw_offload()
2518 INIT_DELAYED_WORK(&sw_ctx_tx->tx_work.work, tx_work_handler); in tls_set_sw_offload()
[all …]