Searched refs:offload_ctx (Results 1 – 3 of 3) sorted by relevance
157 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 …]
440 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument450 offload_ctx->aead_send = in tls_sw_fallback_init()452 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init()453 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init()455 offload_ctx->aead_send = NULL; in tls_sw_fallback_init()459 rc = crypto_aead_setkey(offload_ctx->aead_send, in tls_sw_fallback_init()465 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_desc->tag); in tls_sw_fallback_init()471 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
182 struct tls_offload_context_tx *offload_ctx,
Completed in 12 milliseconds