Home
last modified time | relevance | path

Searched refs:hash_engine (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/crypto/aspeed/
Daspeed-hace-hash.c117 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_ahash_dma_prepare() local
118 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare()
128 memcpy(hash_engine->ahash_src_addr, rctx->buffer, rctx->bufcnt); in aspeed_ahash_dma_prepare()
131 scatterwalk_map_and_copy(hash_engine->ahash_src_addr + in aspeed_ahash_dma_prepare()
153 hash_engine->src_length = length - remain; in aspeed_ahash_dma_prepare()
154 hash_engine->src_dma = hash_engine->ahash_src_dma_addr; in aspeed_ahash_dma_prepare()
155 hash_engine->digest_dma = rctx->digest_dma_addr; in aspeed_ahash_dma_prepare()
166 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_ahash_dma_prepare_sg() local
167 struct ahash_request *req = hash_engine->req; in aspeed_ahash_dma_prepare_sg()
189 src_list = (struct aspeed_sg_list *)hash_engine->ahash_src_addr; in aspeed_ahash_dma_prepare_sg()
[all …]
Daspeed-hace.c34 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_irq() local
43 if (hash_engine->flags & CRYPTO_FLAGS_BUSY) in aspeed_hace_irq()
44 tasklet_schedule(&hash_engine->done_task); in aspeed_hace_irq()
70 struct aspeed_engine_hash *hash_engine = &hace_dev->hash_engine; in aspeed_hace_hash_done_task() local
72 hash_engine->resume(hace_dev); in aspeed_hace_hash_done_task()
105 struct aspeed_engine_hash *hash_engine; in aspeed_hace_probe() local
122 hash_engine = &hace_dev->hash_engine; in aspeed_hace_probe()
168 tasklet_init(&hash_engine->done_task, aspeed_hace_hash_done_task, in aspeed_hace_probe()
187 hash_engine->ahash_src_addr = in aspeed_hace_probe()
190 &hash_engine->ahash_src_dma_addr, in aspeed_hace_probe()
[all …]
Daspeed-hace.h254 struct aspeed_engine_hash hash_engine; member
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c870 rss_engine.hash_engine = type; in hinic_rss_set_hash_engine()
913 *type = hash_type.hash_engine; in hinic_rss_get_hash_engine()
Dhinic_port.h442 u8 hash_engine; member