Searched refs:offload_ctx (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/net/tls/ |
D | tls_device.c | 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() 244 struct tls_offload_context_tx *offload_ctx, in tls_push_record() argument 268 spin_lock_irq(&offload_ctx->lock); in tls_push_record() 269 list_add_tail(&record->list, &offload_ctx->records_list); in tls_push_record() 270 spin_unlock_irq(&offload_ctx->lock); in tls_push_record() 271 offload_ctx->open_record = NULL; in tls_push_record() 277 sg_unmark_end(&offload_ctx->sg_tx_data[i]); in tls_push_record() 278 sg_set_page(&offload_ctx->sg_tx_data[i], skb_frag_page(frag), in tls_push_record() [all …]
|
D | tls_device_fallback.c | 419 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument 425 offload_ctx->aead_send = in tls_sw_fallback_init() 427 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init() 428 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init() 430 offload_ctx->aead_send = NULL; in tls_sw_fallback_init() 436 rc = crypto_aead_setkey(offload_ctx->aead_send, key, in tls_sw_fallback_init() 441 rc = crypto_aead_setauthsize(offload_ctx->aead_send, in tls_sw_fallback_init() 448 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
|
/Linux-v4.19/include/net/ |
D | tls.h | 447 struct tls_offload_context_tx *offload_ctx,
|