Lines Matching refs:key_dma
84 dma_addr_t key_dma; member
218 ctx->adata.key_dma = ctx->key_dma; in aead_set_sh_desc()
221 ctx->cdata.key_dma = ctx->key_dma + ctx->adata.keylen_pad; in aead_set_sh_desc()
314 dma_sync_single_for_device(dev, ctx->key_dma, ctx->adata.keylen_pad + in aead_setkey()
674 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
694 ctx->cdata.key_dma = ctx->key_dma; in gcm_set_sh_desc()
737 dma_sync_single_for_device(dev, ctx->key_dma, keylen, ctx->dir); in gcm_setkey()
767 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
787 ctx->cdata.key_dma = ctx->key_dma; in rfc4106_set_sh_desc()
838 dma_sync_single_for_device(dev, ctx->key_dma, ctx->cdata.keylen, in rfc4106_setkey()
868 ctx->cdata.key_dma = ctx->key_dma; in rfc4543_set_sh_desc()
888 ctx->cdata.key_dma = ctx->key_dma; in rfc4543_set_sh_desc()
937 dma_sync_single_for_device(dev, ctx->key_dma, ctx->cdata.keylen, in rfc4543_setkey()
1599 ctx->key_dma = dma_addr + NUM_OP * sizeof(ctx->flc[0]); in caam_cra_init()
3220 dma_addr_t key_dma; in hash_digest_key() local
3237 key_dma = dma_map_single(ctx->dev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
3238 if (dma_mapping_error(ctx->dev, key_dma)) { in hash_digest_key()
3265 dpaa2_fl_set_addr(in_fle, key_dma); in hash_digest_key()
3268 dpaa2_fl_set_addr(out_fle, key_dma); in hash_digest_key()
3299 dma_unmap_single(ctx->dev, key_dma, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
3354 dma_sync_single_for_device(ctx->dev, ctx->adata.key_dma, in ahash_setkey()
4576 ctx->adata.key_dma = dma_map_single_attrs(ctx->dev, ctx->key, in caam_hash_cra_init()
4580 if (dma_mapping_error(ctx->dev, ctx->adata.key_dma)) { in caam_hash_cra_init()
4591 if (ctx->adata.key_dma) in caam_hash_cra_init()
4592 dma_unmap_single_attrs(ctx->dev, ctx->adata.key_dma, in caam_hash_cra_init()
4624 if (ctx->adata.key_dma) in caam_hash_cra_exit()
4625 dma_unmap_single_attrs(ctx->dev, ctx->adata.key_dma, in caam_hash_cra_exit()