Home
last modified time | relevance | path

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

/linux/net/tls/
A Dtls_device.c157 offload_ctx->retransmit_hint = NULL; in delete_all_records()
290 offload_ctx->open_record = NULL; in tls_push_record()
360 offload_ctx->open_record = record; in tls_create_new_record()
371 if (!offload_ctx->open_record) { in tls_do_allocation()
1038 offload_ctx = kzalloc(sizeof(*offload_ctx), GFP_KERNEL); in alloc_offload_ctx_tx()
1039 if (!offload_ctx) in alloc_offload_ctx_tx()
1052 offload_ctx->ctx = ctx; in alloc_offload_ctx_tx()
1054 return offload_ctx; in alloc_offload_ctx_tx()
1115 if (!offload_ctx) { in tls_set_device_offload()
1152 ctx->priv_ctx_tx = offload_ctx; in tls_set_device_offload()
[all …]
A Dtls_device_fallback.c459 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument
469 offload_ctx->aead_send = in tls_sw_fallback_init()
471 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()
472 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()
474 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()
478 rc = crypto_aead_setkey(offload_ctx->aead_send, in tls_sw_fallback_init()
484 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_desc->tag); in tls_sw_fallback_init()
490 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
A Dtls.h181 struct tls_offload_context_tx *offload_ctx,

Completed in 24 milliseconds