Lines Matching refs:key_dma
370 dma_addr_t key_dma; in hash_digest_key() local
379 key_dma = dma_map_single(jrdev, key, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
380 if (dma_mapping_error(jrdev, key_dma)) { in hash_digest_key()
389 append_seq_in_ptr(desc, key_dma, *keylen, 0); in hash_digest_key()
392 append_seq_out_ptr(desc, key_dma, digestsize, 0); in hash_digest_key()
415 dma_unmap_single(jrdev, key_dma, *keylen, DMA_BIDIRECTIONAL); in hash_digest_key()
476 ctx->adata.key_dma, in ahash_setkey()
503 dma_sync_single_for_device(jrdev, ctx->adata.key_dma, keylen, in axcbc_setkey()
1821 ctx->adata.key_dma = dma_map_single_attrs(ctx->jrdev, ctx->key, in caam_hash_cra_init()
1825 if (dma_mapping_error(ctx->jrdev, ctx->adata.key_dma)) { in caam_hash_cra_init()
1840 dma_unmap_single_attrs(ctx->jrdev, ctx->adata.key_dma, in caam_hash_cra_init()
1879 dma_unmap_single_attrs(ctx->jrdev, ctx->adata.key_dma, in caam_hash_cra_exit()