Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/tls/
A Dtls_device.c73 struct tls_context *ctx = offload_ctx->ctx; in tls_device_tx_del_task()
157 offload_ctx->retransmit_hint = NULL; in delete_all_records()
295 offload_ctx->open_record = NULL; in tls_push_record()
369 offload_ctx->open_record = record; in tls_create_new_record()
380 if (!offload_ctx->open_record) { in tls_do_allocation()
1163 if (!offload_ctx) { in tls_set_device_offload()
1181 offload_ctx->ctx = ctx; in tls_set_device_offload()
1185 spin_lock_init(&offload_ctx->lock); in tls_set_device_offload()
1186 sg_init_table(offload_ctx->sg_tx_data, in tls_set_device_offload()
1214 ctx->priv_ctx_tx = offload_ctx; in tls_set_device_offload()
[all …]
A Dtls_device_fallback.c471 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()
A Dtls.h130 struct tls_offload_context_tx *offload_ctx,

Completed in 9 milliseconds