Lines Matching refs:aead_handle
1102 struct cc_aead_handle *aead_handle = ctx->drvdata->aead_handle; in cc_proc_scheme_desc() local
1111 set_dout_sram(&desc[idx], aead_handle->sram_workspace_addr, in cc_proc_scheme_desc()
1120 set_dout_sram(&desc[idx], aead_handle->sram_workspace_addr, in cc_proc_scheme_desc()
1150 set_din_sram(&desc[idx], aead_handle->sram_workspace_addr, in cc_proc_scheme_desc()
2596 struct cc_aead_handle *aead_handle = drvdata->aead_handle; in cc_aead_free() local
2599 list_for_each_entry_safe(t_alg, n, &aead_handle->aead_list, entry) { in cc_aead_free()
2609 struct cc_aead_handle *aead_handle; in cc_aead_alloc() local
2615 aead_handle = devm_kmalloc(dev, sizeof(*aead_handle), GFP_KERNEL); in cc_aead_alloc()
2616 if (!aead_handle) { in cc_aead_alloc()
2621 INIT_LIST_HEAD(&aead_handle->aead_list); in cc_aead_alloc()
2622 drvdata->aead_handle = aead_handle; in cc_aead_alloc()
2624 aead_handle->sram_workspace_addr = cc_sram_alloc(drvdata, in cc_aead_alloc()
2627 if (aead_handle->sram_workspace_addr == NULL_SRAM_ADDR) { in cc_aead_alloc()
2653 list_add_tail(&t_alg->entry, &aead_handle->aead_list); in cc_aead_alloc()