Searched refs:offload_ctx (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/net/tls/ |
D | tls_device.c | 71 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() 148 static void delete_all_records(struct tls_offload_context_tx *offload_ctx) in delete_all_records() argument 152 list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) { in delete_all_records() 157 offload_ctx->retransmit_hint = NULL; in delete_all_records() 284 struct tls_offload_context_tx *offload_ctx, in tls_push_record() argument 294 list_add_tail_rcu(&record->list, &offload_ctx->records_list); in tls_push_record() 295 offload_ctx->open_record = NULL; in tls_push_record() [all …]
|
D | tls_device_fallback.c | 471 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument 478 offload_ctx->aead_send = in tls_sw_fallback_init() 480 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init() 481 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init() 483 offload_ctx->aead_send = NULL; in tls_sw_fallback_init() 500 rc = crypto_aead_setkey(offload_ctx->aead_send, key, cipher_sz->key); in tls_sw_fallback_init() 504 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_sz->tag); in tls_sw_fallback_init() 510 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
|
D | tls.h | 128 struct tls_offload_context_tx *offload_ctx,
|