Home
last modified time | relevance | path

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

/linux/net/tls/
A Dtls_device.c144 offload_ctx->retransmit_hint = NULL; in delete_all_records()
282 offload_ctx->open_record = NULL; in tls_push_record()
291 sg_unmark_end(&offload_ctx->sg_tx_data[i]); in tls_push_record()
356 offload_ctx->open_record = record; in tls_create_new_record()
367 if (!offload_ctx->open_record) { in tls_do_allocation()
1036 if (!offload_ctx) { in tls_set_device_offload()
1106 spin_lock_init(&offload_ctx->lock); in tls_set_device_offload()
1107 sg_init_table(offload_ctx->sg_tx_data, in tls_set_device_offload()
1147 ctx->priv_ctx_tx = offload_ctx; in tls_set_device_offload()
1174 crypto_free_aead(offload_ctx->aead_send); in tls_set_device_offload()
[all …]
A Dtls_device_fallback.c448 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/include/net/
A Dtls.h709 struct tls_offload_context_tx *offload_ctx,

Completed in 12 milliseconds