Searched refs:offload_ctx (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/tls/ |
H A D | tls_device.c | 73 struct tls_offload_context_tx *offload_ctx = in tls_device_tx_del_task() local 75 struct tls_context *ctx = offload_ctx->ctx; in tls_device_tx_del_task() 112 struct tls_offload_context_tx *offload_ctx = tls_offload_ctx_tx(ctx); in tls_device_queue_ctx_destruction() local 117 queue_work(destruct_wq, &offload_ctx->destruct_work); in tls_device_queue_ctx_destruction() 150 static void delete_all_records(struct tls_offload_context_tx *offload_ctx) in delete_all_records() argument 154 list_for_each_entry_safe(info, temp, &offload_ctx->records_list, list) { in delete_all_records() 159 offload_ctx->retransmit_hint = NULL; in delete_all_records() 285 struct tls_offload_context_tx *offload_ctx, in tls_push_record() argument 295 list_add_tail_rcu(&record->list, &offload_ctx->records_list); in tls_push_record() 296 offload_ctx->open_record = NULL; in tls_push_record() [all …]
|
H A D | tls_device_fallback.c | 471 struct tls_offload_context_tx *offload_ctx, in tls_sw_fallback_init() argument 481 offload_ctx->aead_send = in tls_sw_fallback_init() 483 if (IS_ERR(offload_ctx->aead_send)) { in tls_sw_fallback_init() 484 rc = PTR_ERR(offload_ctx->aead_send); in tls_sw_fallback_init() 486 offload_ctx->aead_send = NULL; in tls_sw_fallback_init() 490 rc = crypto_aead_setkey(offload_ctx->aead_send, in tls_sw_fallback_init() 496 rc = crypto_aead_setauthsize(offload_ctx->aead_send, cipher_desc->tag); in tls_sw_fallback_init() 502 crypto_free_aead(offload_ctx->aead_send); in tls_sw_fallback_init()
|
H A D | tls.h | 178 struct tls_offload_context_tx *offload_ctx,
|