Searched refs:offload_ctx (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/net/tls/ |
| D | tls_device.c | 135 static void delete_all_records(struct tls_offload_context_tx *offload_ctx) in delete_all_records() argument 139 list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) { in delete_all_records() 144 offload_ctx->retransmit_hint = NULL; in delete_all_records() 271 struct tls_offload_context_tx *offload_ctx, in tls_push_record() argument 281 list_add_tail_rcu(&record->list, &offload_ctx->records_list); in tls_push_record() 282 offload_ctx->open_record = NULL; in tls_push_record() 291 sg_unmark_end(&offload_ctx->sg_tx_data[i]); in tls_push_record() 292 sg_set_page(&offload_ctx->sg_tx_data[i], skb_frag_page(frag), in tls_push_record() 297 sg_mark_end(&offload_ctx->sg_tx_data[record->num_frags - 1]); in tls_push_record() 300 return tls_push_sg(sk, ctx, offload_ctx->sg_tx_data, 0, flags); in tls_push_record() [all …]
|
| D | tls_device_fallback.c | 448 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument 454 offload_ctx->aead_send = in tls_sw_fallback_init() 456 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init() 457 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init() 459 offload_ctx->aead_send = NULL; in tls_sw_fallback_init() 465 rc = crypto_aead_setkey(offload_ctx->aead_send, key, in tls_sw_fallback_init() 470 rc = crypto_aead_setauthsize(offload_ctx->aead_send, in tls_sw_fallback_init() 477 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
|
| /Linux-v5.15/include/net/ |
| D | tls.h | 706 struct tls_offload_context_tx *offload_ctx,
|