Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/tls/
H A Dtls_device.c138 static void delete_all_records(struct tls_offload_context_tx *offload_ctx) in delete_all_records() argument
142 list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) { in delete_all_records()
147 offload_ctx->retransmit_hint = NULL; in delete_all_records()
273 struct tls_offload_context_tx *offload_ctx, in tls_push_record() argument
283 list_add_tail_rcu(&record->list, &offload_ctx->records_list); in tls_push_record()
284 offload_ctx->open_record = NULL; in tls_push_record()
293 sg_unmark_end(&offload_ctx->sg_tx_data[i]); in tls_push_record()
294 sg_set_page(&offload_ctx->sg_tx_data[i], skb_frag_page(frag), in tls_push_record()
299 sg_mark_end(&offload_ctx->sg_tx_data[record->num_frags - 1]); in tls_push_record()
302 return tls_push_sg(sk, ctx, offload_ctx->sg_tx_data, 0, flags); in tls_push_record()
[all …]
H A Dtls_device_fallback.c447 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument
453 offload_ctx->aead_send = in tls_sw_fallback_init()
455 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
456 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
458 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
464 rc = crypto_aead_setkey(offload_ctx->aead_send, key, in tls_sw_fallback_init()
469 rc = crypto_aead_setauthsize(offload_ctx->aead_send, in tls_sw_fallback_init()
476 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
/OK3568_Linux_fs/kernel/include/net/
H A Dtls.h720 struct tls_offload_context_tx *offload_ctx,