Lines Matching full:digest
145 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_dma_prepare()
149 dev_warn(hace_dev->dev, "dma_map() rctx digest error\n"); in aspeed_ahash_dma_prepare()
190 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_dma_prepare_sg()
194 dev_warn(hace_dev->dev, "dma_map() rctx digest error\n"); in aspeed_ahash_dma_prepare_sg()
286 * Copy digest to the corresponding request result.
303 memcpy(req->result, rctx->digest, rctx->digsize); in aspeed_ahash_transfer()
366 memcpy(rctx->buffer + rctx->block_size, rctx->digest, rctx->digsize); in aspeed_ahash_hmac_resume()
372 memcpy(rctx->digest, rctx->sha_iv, rctx->ivsize); in aspeed_ahash_hmac_resume()
374 rctx->digest_dma_addr = dma_map_single(hace_dev->dev, rctx->digest, in aspeed_ahash_hmac_resume()
378 dev_warn(hace_dev->dev, "dma_map() rctx digest error\n"); in aspeed_ahash_hmac_resume()
417 rctx->digest, in aspeed_ahash_req_final()
421 dev_warn(hace_dev->dev, "dma_map() rctx digest error\n"); in aspeed_ahash_req_final()
669 AHASH_DBG(hace_dev, "%s: digest size:%d\n", in aspeed_sham_init()
684 memcpy(rctx->digest, sha1_iv, rctx->ivsize); in aspeed_sham_init()
693 memcpy(rctx->digest, sha224_iv, rctx->ivsize); in aspeed_sham_init()
702 memcpy(rctx->digest, sha256_iv, rctx->ivsize); in aspeed_sham_init()
712 memcpy(rctx->digest, sha384_iv, rctx->ivsize); in aspeed_sham_init()
722 memcpy(rctx->digest, sha512_iv, rctx->ivsize); in aspeed_sham_init()
725 dev_warn(tctx->hace_dev->dev, "digest size %d not support\n", in aspeed_sham_init()
858 .digest = aspeed_sham_digest,
890 .digest = aspeed_sham_digest,
922 .digest = aspeed_sham_digest,
955 .digest = aspeed_sham_digest,
990 .digest = aspeed_sham_digest,
1025 .digest = aspeed_sham_digest,
1062 .digest = aspeed_sham_digest,
1094 .digest = aspeed_sham_digest,
1127 .digest = aspeed_sham_digest,
1162 .digest = aspeed_sham_digest,