Home
last modified time | relevance | path

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

/linux/net/tls/
H A Dtls_device.c71 struct tls_offload_context_tx *offload_ctx = in tls_device_tx_del_task() local
73 struct tls_context *ctx = offload_ctx->ctx; in tls_device_tx_del_task()
110 struct tls_offload_context_tx *offload_ctx = tls_offload_ctx_tx(ctx); in tls_device_queue_ctx_destruction() local
115 queue_work(destruct_wq, &offload_ctx->destruct_work); in tls_device_queue_ctx_destruction()
150 static void delete_all_records(struct tls_offload_context_tx *offload_ctx) in delete_all_records() argument
154 list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) { in delete_all_records()
159 offload_ctx->retransmit_hint = NULL; in delete_all_records()
281 struct tls_offload_context_tx *offload_ctx, in tls_push_record() argument
291 list_add_tail_rcu(&record->list, &offload_ctx->records_list); in tls_push_record()
292 offload_ctx->open_record = NULL; in tls_push_record()
[all …]
H A Dtls_device_fallback.c440 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument
450 offload_ctx->aead_send = in tls_sw_fallback_init()
452 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
453 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
455 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
459 rc = crypto_aead_setkey(offload_ctx->aead_send, in tls_sw_fallback_init()
465 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_desc->tag); in tls_sw_fallback_init()
471 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
H A Dtls.h184 struct tls_offload_context_tx *offload_ctx,